1828427 Members
4103 Online
109977 Solutions
New Discussion

Runtime.exec() command

 
Michael Immell
New Member

Runtime.exec() command

I am running Java 1.4.1 on an HPUX1100 box. When I run the exec command, it says it ran, but the command line was not actually run. Also, the next time I call this command in the same application and it locks up and never returns. Has anyone seen these kind of problems with the Runtime class in HPUX java?
1 REPLY 1
Marchiori
New Member

Re: Runtime.exec() command

What do you get by calling waitFor() on the Process object returned by exec()?
Also, it may be useful to run the jvm under control of tusc, in order to verify that it actually forks.