aQute.libg.command
Class Command
java.lang.Object
aQute.libg.command.Command
public class Command
- extends Object
Command
public Command(String fullCommand)
Command
public Command()
execute
public int execute(Appendable stdout,
Appendable stderr)
throws Exception
- Throws:
Exception
execute
public int execute(String input,
Appendable stdout,
Appendable stderr)
throws Exception
- Throws:
Exception
needsWindowsQuoting
public static boolean needsWindowsQuoting(String s)
windowsQuote
public static String windowsQuote(String s)
execute
public int execute(InputStream in,
Appendable stdout,
Appendable stderr)
throws Exception
- Throws:
Exception
add
public void add(String... args)
addAll
public void addAll(Collection<String> args)
setTimeout
public void setTimeout(long duration,
TimeUnit unit)
setTrace
public void setTrace()
setReporter
public void setReporter(Reporter reporter)
setCwd
public void setCwd(File dir)
cancel
public void cancel()
var
public Command var(String name,
String value)
arg
public Command arg(String... args)
full
public Command full(String full)
inherit
public void inherit()
var
public String var(String name)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014 aQute SARL. All rights reserved.