projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3a6810
)
src/Spawn.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 1 Jun 2015 10:19:41 +0000
(18:19 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 1 Jun 2015 10:19:41 +0000
(18:19 +0800)
src/Spawn.vala
patch
|
blob
|
history
diff --git
a/src/Spawn.vala
b/src/Spawn.vala
index
7ae7e48
..
57e9daa
100644
(file)
--- a/
src/Spawn.vala
+++ b/
src/Spawn.vala
@@
-154,7
+154,17
@@
public class Spawn : Object
GLib.debug("cd %s; %s" , this.cwd , string.joinv(" ", this.args));
-
+ if (this.detach) {
+ Process.spawn_async_with_pipes (
+ this.cwd,
+ this.args,
+ this.env.length > 0 ? this.env : null,
+ SpawnFlags.SEARCH_PATH | SpawnFlags.DO_NOT_REAP_CHILD,
+ null,
+ out this.pid);
+ return;
+
+ }
Process.spawn_async_with_pipes (
this.cwd,
this.args,