public SpawnErr stderr;
public SpawnInput input;
// defaults..
- public SpawnConfig() {
- cwd = "";
- args = [];
- env = [];
+ public SpawnConfig(string cwd,
+ string[] args,
+ string[] env
+ ) {
+ this.cwd = cwd;
+ this.args = args;
+ this.env = env;
+
async = false;
exceptions = false;
debug = false;
+
output = null;
stderr = null;
input = null;
}
- public setCommand(string cwd,
- string[] args,
- string[] env
- ) {
- this.cwd = cwd;
- this.args = args;
- this.env = env;
+ public setCommand(
}
public setOptions(
boolean async,