Noncentz705", please more light on this, i got this error log in my console. Thanks
Error executing Javascript:
ReferenceError {stack: (...), message: "require is not defined"}
message: "require is not defined"
stack: (...)
get stack: function () { [native code] }
set stack: function () { [native code] }
__proto__: Error
Browser_plugin.js:609
0
Create two bat files :
File1.bat
start C:\Users\%username%\Desktop\project_folder\File2.bat
rem Notice I didn't use %cd%\File2.bat because preview runs from a temp folder;
File2.bat
echo CMD STARTED
Now in your project back in construct
- add the browser plugin to your project
- create a variable named cd and set it's value to the path of your first bat file with \\ 's
To launch cmd Browser Execute Javascript :
"require('child_process').execFile('"&cd&"');"
With that said there's probably a way easier way to do this