can not exec: "darling shell command arg" with nodejs exec function
conganwoz opened this issue · comments
Expected Result
What did you expect to happen?
function exec() should run normal as run command in normal shell
Actual Result
What did happen?
receive error with code = 1
Steps To Reproduce
- create simple node project that create build-in command to shell
- create command by using: npm install -g .
- run darling shell command arg using exec function require from "child_process"
System Information
What system are you using?
Software | Version |
---|---|
Linux Kernel | 5.10.0 |
Could you perhaps provide some sample code for what you're trying to do? I don't quite understand whether you're trying to use Node.js within Darling or outside of Darling to execute a command within Darling.