I have maked a Executable with Enigma Virtual Box. Packed in this Executable is another Executable (in Default Folder).
child = exec("nw.exe dist.exe", function (error, stdout, stderr) {
});
When I run the Code dist.exe ist not found, because it will search in the execPath (where the vm is saved C:\Users\test\Downloads\nw_boxed.exe): C:\Users\test\Downloads\dist.exe
And not in the virtual file structure...any ideas how to solve this?
Thanks!
Run packed file...path problems
Re: Run packed file...path problems
Hi, make sure that the option "Share to child processes" is enabled on the Options panel.
Also, in your case, it is important that the packed file name will be the same as non packed, rename the packed file as nw.exe too.
Also, in your case, it is important that the packed file name will be the same as non packed, rename the packed file as nw.exe too.