nightmare icon indicating copy to clipboard operation
nightmare copied to clipboard

Unable to start nightmare after win32 platform is built

Open joinfunny opened this issue 5 years ago • 0 comments

Under the win32 platform, when I use the nightmare operation page in an "electron" application, the development environment runs normally, but after packaging, I find that nightmare cannot start normally. Then I track the problem and find it in the lib/nightmare.js file. The way to call electron in the way of a child process is wrong. proc.spawn can only be run as a command line. You need to enable the shell on the win32 platform.

So there is a missing shell: true parameter. WX20190715-170531

joinfunny avatar Jul 15 '19 09:07 joinfunny