Etantonio multi-posted ...
>> Good morning,
Where?
>> I need to start a unix script from a java [sic] program, for this I
used
>> these instructions :
>>
>> Runtime rt=Runtime.getRuntime();
>> try {
>> Process proc=rt.exec("sh
/root/scriptTestANDO.sh");
>> } catch (IOException e) {
>> e.printStackTrace();
>> }
Two, or maybe up to four, spaces per indent is enough. Sixteen-plus is
excessive.
>> it works ok,
>> but I need that the script still run also if the java program ends,
>> how I can arrange this ??
Nigel Wade wrote:
> Please don't multi-post. You're unlikely to get the answer you want. See
the
> other thread you started in comp.lang.java.help.
>
> If you really, really, must post to more than one group then cross-post.
Etantonio, there is an FAQ post to these two groups every five days by
David
Alex Lamb. There's no reason to miss it. It explains much, and links to
more
sources that explain more, about how to interact with these newsgroups.
There's no reason to miss it.
--
Lew


|