-
Notifications
You must be signed in to change notification settings - Fork 15k
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]: child_process functions not working in packaged app #33070
Comments
Not sure if it's the same but definitely sounds similar: when trying to run It crashes on all 17.x versions and 18.0.0-alpha, but not on 16.x. On GitHub Desktop, we're getting reports of these crashes since we upgraded the app to 17.0.1: desktop/desktop#13974 |
Oh, not sure about this, but I think my issue is better described in #32718 |
I think @sergiou87 is right, this does look like a duplicate of the other issue. @ttrepka I see a fix for the other issue has been merged -- could you try this fix out with a version of Electron as described here and see if the problem is fixed or if it persists? |
same problem
expect: actually: |
Preflight Checklist
Electron Version
17.0.0
What operating system are you using?
macOS
Operating System Version
macOS Mojave 10.14.6
What arch are you using?
x64
Last Known Working Electron version
16.10.0
Expected Behavior
I can run
child_process.exec
,execFile
andspawn
from the main process in a packaged app.Actual Behavior
child_process.exec
,execFile
andspawn
work when I "Run" the project in Electron Fiddle but not when I package using "Tasks" > "Package fiddle...".Testcase Gist URL
https://gist.github.com/ttrepka/701306ff2283166644e8f76efec3ad81
Additional Information
No response
The text was updated successfully, but these errors were encountered: