I got it!
Under Windows xp, it seems to be the same thing with or without
"proc.waitFor();" line of code: the program ends when "notepad" is
closed.
But, under Linux, the program with the line "proc.waitFor();" ends
after "gedit" is closed; in the other hand, the program without that
line of code, ends immediately "gedit" is called.
Anyway, thanks a lot.

---------- Mensaje reenviado ----------
De: Adrián Córdoba <[email protected]>
Fecha: 18 de enero de 2010 17:34
Asunto: LAB-1010 (4.1) Run OS specific program
Para: Java Programming <[email protected]>


Hi there!
In LAB-1010, exercise 4.1 (RunOSProgram project), what happen when the
line "proc.waitFor();" is removed?
I tried it, but I can´t note anything.

Thank you for your help.
Best regards.

--
[Adrián E. Córdoba]



-- 
[Adrián E. Córdoba]
-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to