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:
b7189ea
)
src/Spawn.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 15 May 2015 02:37:02 +0000
(10:37 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 15 May 2015 02:37:02 +0000
(10:37 +0800)
src/Spawn.vala
patch
|
blob
|
history
diff --git
a/src/Spawn.vala
b/src/Spawn.vala
index
1a135ed
..
0dbc351
100644
(file)
--- a/
src/Spawn.vala
+++ b/
src/Spawn.vala
@@
-58,6
+58,7
@@
public class Spawn : Object
public string cwd;
public string[] args;
public string[] env;
+ public bool debug = false;
public Spawn(string cwd, string[] args) throws Error
{
@@
-138,8
+139,8
@@
public class Spawn : Object
- if (this.
cfg.
debug) {
-
stdout.printf
("cd %s; %s" , this.cfg.cwd , string.joinv(" ", this.cfg.args));
+ if (this.debug) {
+
Glib.debug
("cd %s; %s" , this.cfg.cwd , string.joinv(" ", this.cfg.args));
}
Process.spawn_async_with_pipes (