Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

[QUESTION] Packaging another exe file #936

Closed
BinaryShrub opened this issue Jun 23, 2020 · 1 comment
Closed

[QUESTION] Packaging another exe file #936

BinaryShrub opened this issue Jun 23, 2020 · 1 comment

Comments

@BinaryShrub
Copy link

I am trying to package an exe to execute via child_process but I cant seem to locate the file during runtime. I cant run child_process.exec or I get a not found error and If I try to copy the file to the main filesystem I get an error like so:

(node:6256) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, copyfile 'C:\snapshot\MyApp\out\dist\notepad.exe' -> 'C:\Users\Administrator\Desktop\MyApp.exe/notepad.exe'

Is it possible to bundle an exe asset to be executed like so? Does someone have an example of this working?

@BinaryShrub
Copy link
Author

#420 fixed my issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant