New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: UtilityProcess crashes when using the asar path #41396
Comments
Hello @tuyangJs. Thanks for reporting this and helping to make Electron better! Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use. Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests. Now adding the
blocked/need-repro
|
Confirmed - thanks for the repro @silyont 🙇🏻♀️ Stacktrace
|
I have a similar problem when trying to start a
|
@silyont in the short term - your issue is partially that you're calling |
The document should mention this if it is intended to put |
@silyont ah, sorry - to clarify: it's not intended, that's just where the bug is. I just opened a draft PR to address the issue! |
Preflight Checklist
Electron Version
28.2.3
What operating system are you using?
Windows
Operating System Version
windows11 23h2
What arch are you using?
ia32
Last Known Working Electron version
No response
Expected Behavior
Should have been successfully created
Actual Behavior
// 载入新的模块实例 const Modurl = C:\Users\ihanl\Desktop\ELECTRON-tl\resources\app.asar\main\ModProcess\ModMain.js console.log(Modurl); //创建模块进程 const child = utilityProcess.fork(Modurl, ['pipe', 'pipe', 'pipe', 'ipc'], { serviceName: 'ModProcess', cwd: __dirname, })
Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: