var commandOutput = exec('ls -gocart', { retAll:true }); puts(commandOutput.data);