Uses of Class
com.peterphi.std.system.exec.Execed

Packages that use Execed
Package
Description
 
  • Uses of Execed in com.peterphi.std.system.exec

    Methods in com.peterphi.std.system.exec that return Execed
    Modifier and Type
    Method
    Description
    static Execed
    Exec.appAs(String as, Iterable<String> command)
    Runs a command, optionally executing as a different user (eg root)
    static Execed
    Exec.appAs(String as, String... command)
    Runs a command, optionally executing as a different user (eg root)
    static Execed
    Exec.rootUtility(Iterable<String> command)
    Runs a command in "utility" mode: redirecting stderr to stdout and running as root
    static Execed
    Exec.rootUtility(String... command)
    Runs a command in "utility" mode: redirecting stderr to stdout and running as root
    static Execed
    Execed.spawn(Exec e)
     
    Exec.start()
    Launches the process, returning a handle to it for IO ops, etc.
    The finish condition for the OutputProcess is that all processes outputting to standard out must be complete before proceeding
    static Execed
    Exec.utility(Iterable<String> command)
    Runs a command in "utility" mode: redirecting stderr to stdout and optionally executing as a different user (eg root)
    static Execed
    Exec.utility(String... command)
    Runs a command in "utility" mode: redirecting stderr to stdout and optionally executing as a different user (eg root)
    static Execed
    Exec.utilityAs(String as, Iterable<String> command)
    Runs a command in "utility" mode: redirecting stderr to stdout and optionally executing as a different user (eg root)
    static Execed
    Exec.utilityAs(String as, String... command)
    Runs a command in "utility" mode: redirecting stderr to stdout and optionally executing as a different user (eg root)