Learn about Linux
Download Linux
Get Linux help
Get special offers on:
Linux Application Dev Programming Software
Email:
#
Return to The Tenth Commandment of system administration
© Copyright 1999-2008 - SourceForge, Inc., All Rights Reserved About Linux.com - Privacy Statement - Terms of Use - Advertise - Trademark - Ask Linux Questions - Write for Us - RSS Feed ThinkGeek - Slashdot - SourceForge.net - freshmeat - Surveys - Jobs
Re:Possibly use a newer language?
Posted by: Anonymous Coward on June 29, 2005 08:24 AMclass MyExecClass {
Runtime runEnviron = Runtime.getRuntime();
try {
Process newProcess = runEnviron.exec("/usr/bin/normalUnixCommand");
} catch (IOException e) {
System.out.println("Problem with command.");
}
}
compared with
#!/bin/bash<nobr> <wbr></nobr>/usr/bin/normalUnixCommand
I Have Been Trolled. I Have Lost. I am having a nice day.
#