Spawn.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 09:49:48 +0000 (17:49 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 09:49:48 +0000 (17:49 +0800)
Spawn.vala

index 36e6809..8feb6b6 100644 (file)
@@ -128,7 +128,7 @@ public class Spawn : Object
         this.cfg = cfg;
      
     
-        this.cwd =  this.cfg.cwd.length || GLib.get_home_dir();
+        this.cfg.cwd =  this.cfg.cwd.length || GLib.get_home_dir();
         if (!this.cfg.args.length) {
             throw new Error("No arguments");
         }