Apache Commons Exec Process Object

I use Apache Commons Exec banners to create processes. However, I would like to gain control over the process identifier of the called processes.

Is there a way to get the Process object from the Apache Commons Exec api? I have not made any public methods that return a "Process Class".

+1
source share
1 answer

See http://commons.apache.org/exec/apidocs/index.html

The CommandLauncher interface contains several methods execthat return Process.

: . , API Java . java : int field pid, . 1.6.

0

All Articles