groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cortez21 <>
Subject Cannot execute shell scripts/command separated by ";" with execute() method
Date Tue, 17 Oct 2017 14:49:00 GMT
Hi All,

 Maybe you can help me with issue I have with executing linux command
separated by ";".
I am using execute function but got error:

 No such file or directory

but file exist.

Code I am executing:

cmdArgs = ["/opt/; sqlplus username"];
cmdArgs.execute(env, workDir);

Sent from:

View raw message