projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef76b64
)
Spawn.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 14 Apr 2010 09:54:15 +0000
(17:54 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 14 Apr 2010 09:54:15 +0000
(17:54 +0800)
Spawn.js
patch
|
blob
|
history
diff --git
a/Spawn.js
b/Spawn.js
index
755dc9d
..
cfd5a6b
100644
(file)
--- a/
Spawn.js
+++ b/
Spawn.js
@@
-150,7
+150,9
@@
Spawn.prototype = {
GLib.child_watch_add(GLib.PRIORITY_DEFAULT, this.pid, function(pid, result) {
_this.result = result;
-
+ if (this.debug) {
+ print("result: " + result);
+ }
GLib.spawn_close_pid(_this.pid);
_this.pid = false;
if (ctx) {