rannn505 / child-shell

Node.js bindings 🔗 for shell
http://rannn505.github.io/child-shell/
MIT License
301 stars 71 forks source link

Hide console when using with node pkg #103

Open yashodhah opened 4 years ago

yashodhah commented 4 years ago

When packaged using node pkg , node window pops up. How to avoid this

let command =Start-Process -WindowStyle hidden -FilePath '${exeName}' -WorkingDirectory '${shadowInstallerDir}'${args ? -ArgumentList '${args}' : ''};