类 RunProcess


  • public class RunProcess
    extends Object
    Utility used to run a process.
    从以下版本开始:
    1.1.0
    • 构造器详细资料

      • RunProcess

        public RunProcess​(String... command)
        Creates new RunProcess instance for the specified command.
        参数:
        command - the program to execute and its arguments
      • RunProcess

        public RunProcess​(File workingDirectory,
                          String... command)
        Creates new RunProcess instance for the specified working directory and command.
        参数:
        workingDirectory - the working directory of the child process or null to run in the working directory of the current Java process
        command - the program to execute and its arguments