Jiri Fabian
Posts: 11
Nickname: filemon
Registered: Mar, 2003
|
|
Re: using Runtime class on Windows platform
|
Posted: Mar 17, 2003 2:31 AM
|
|
Works4me on 1.4 ,Win XP.
From java.lang.Process javadoc <pre> The Runtime.exec methods may not work well for special processes on certain native platforms, such as native windowing processes, daemon processes, Win16/DOS processes on Win32, or shell scripts. The created subprocess does not have its own terminal or console. </pre>
Try to invoke Process.getInputStream() on created process to get more info.
Process proc = run.exec(cmd); proc.getInputStream();
fil
|
|