Re: Commons Exec with [exec]: {127=Process exited with an error: 127(Exit value: 127)}

2016-09-19 Thread Paulo Roberto Massa Cereda
'ello, (sorry for the potential HTML reply, I hate using the web interface, but that's the only one available at the moment) > /bin/bash: ls -l: command not found To the extent of my knowledge, the error raised in your new code (which is certainly raised by bash itself) means the executable 'ls

Re: Commons Exec with [exec]: {127=Process exited with an error: 127(Exit value: 127)}

2016-09-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ranjith, On 9/19/16 12:39 AM, Ranjith Mandala wrote: > Below command fails to execute. Please let me know what I am doing > wrong. > > CommandLine cmdLine = new CommandLine("/bin/bash"); > cmdLine.addArguments(new String[] {"-c", "ls -l" }); > >