java.lang.Object
net.i2p.installer.Exec
Launch a program in the background from the installer, then terminate this JVM without waiting for it.
Usage:Exec dir command [args ...]. The program is started directly by Runtime.exec(String), not through a command shell, so the first word is resolved with the platform's usual search path rules and shell syntax (quoting, redirection, pipes, variable expansion, globbing) is not interpreted. To run a shell command, invoke the shell explicitly, for example Exec dir cmd /c dir. See also ShellCommand, which does interpret the command line and waits for the result.Constructor Summary
ConstructorsMethod Summary
All Methods
Constructor Details
Exec
public Exec()No-op, all methods are static.
Method Details
main
Start a program in the specified directory and exit immediately. The program is not waited for, and its output streams are not read, so it must not write enough to fill a pipe buffer.- Parameters:
args- working directory, then the program and its arguments (dir command [args...])