exec hang when executing command with /n. Its probably because wrong escaping.
E.g. this will hang:
syncExec = require('shelljs').exec
var command = "python2 -c 'print \"first line\"\nprint \"second line\"'"
out = syncExec(command2)
Child_process.exec works just fine.
exec hang when executing command with /n. Its probably because wrong escaping.
E.g. this will hang:
Child_process.exec works just fine.