'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
-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" });
>
>