Closed std3lqi closed 7 years ago
Thanks for the info. You are right, that should not be hard coded. This will be fixed in the next release.
Fixed in https://github.com/ibmruntimes/node/commit/db1221e01aaa694ba596664a016a86539541cd36 The default /bin/sh should work just as well.
Thanks! I'll verify it in the next release.
beta 3 should resolve this. https://developer.ibm.com/node/sdk/ztp/
Hi,
We're using node-v6.11.0-os390-s390x, and find the '/bin/ksh' is hard-coded in child_process.exec(command[, options][, callback]) on z/OS. On the system where we don't have '/bin/ksh', we failed to set options.shell to '/bin/sh'. It looks like the code checking options.shell before setting it to '/bin/ksh' is missing on z/OS.
Thanks!
Qi