Re: [tcljava-dev] PATCH: exec command patch posted
Brought to you by:
mdejong
From: Shawn B. <sh...@qc...> - 2002-01-15 13:32:28
|
Patch is located at: http://sourceforge.net/tracker/?group_id=13005&atid=313005 Shawn Boyce wrote: > I have submitted a patch to sourceforge for the exec command. > Details: > > The exec command has been modified to take advantage > of JDK 1.3's new java.lang.Runtime.exec methods > which have the directory as the argument. > > To support backward compatibility when using > JDK 1.1/1.2, the code uses Reflection to see if > the new exec method is available. > > Summary of changes: > 1) For JDK1.3+, Eliminate Windows/UNIX hacks to use the shell to > change to the current directory before doing > the exec. > 2) Support background "&" > 3) Use threads to read the stdout/stderr output of the > exec'd process. > -- -Shawn |