Package org.eclipse.cdt.utils.spawner
Class ProcessFactory
- java.lang.Object
-
- org.eclipse.cdt.utils.spawner.ProcessFactory
-
public class ProcessFactory extends Object
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Processexec(String cmd)Deprecated.Do not use this method it splits command line arguments on whitespace with no regard to quoting rules.Processexec(String[] cmdarray)Processexec(String[] cmdarray, String[] envp)Processexec(String[] cmdarray, String[] envp, File dir)Processexec(String[] cmdarray, String[] envp, File dir, PTY pty)Processexec(String cmd, String[] envp)Deprecated.Do not use this method it splits command line arguments on whitespace with no regard to quoting rules.Processexec(String cmd, String[] envp, File dir)Deprecated.Do not use this method it splits command line arguments on whitespace with no regard to quoting rules.static ProcessFactorygetFactory()
-
-
-
Method Detail
-
getFactory
public static ProcessFactory getFactory()
-
exec
@Deprecated public Process exec(String cmd) throws IOException
Deprecated.Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677- Throws:
IOException
-
exec
public Process exec(String[] cmdarray) throws IOException
- Throws:
IOException
-
exec
public Process exec(String[] cmdarray, String[] envp) throws IOException
- Throws:
IOException
-
exec
@Deprecated public Process exec(String cmd, String[] envp) throws IOException
Deprecated.Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677- Throws:
IOException
-
exec
@Deprecated public Process exec(String cmd, String[] envp, File dir) throws IOException
Deprecated.Do not use this method it splits command line arguments on whitespace with no regard to quoting rules. See Bug 573677- Throws:
IOException
-
exec
public Process exec(String[] cmdarray, String[] envp, File dir) throws IOException
- Throws:
IOException
-
exec
public Process exec(String[] cmdarray, String[] envp, File dir, PTY pty) throws IOException
- Throws:
IOException
-
-