print("Missing output file: %s\n",exe);
return;
}
- string[] args = "/usr/bin/gnome-terminal -e /usr/bin/gdb -ex=r --args".split(" ");
+ string[] args = "/usr/bin/gnome-terminal -x /usr/bin/gdb -ex=r --args".split(" ");
// runs gnome-terminal, with gdb .. running the application..
}
}
- print("OUT: %s\n\n----\nERR:%s", output, stderr);
+ print("OUT: %s\n\n----\nERR:%s\n", output, stderr);
// should be home directory...
- var exec = new Spawn("/tmp", args);
+
+
+ var exec = new Spawn(GLib.Environment.get_home_dir() , args);
exec.detach = true;
exec.run();