aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar dusanx <ef_dva@yahoo.com>2009-04-27 17:23:51 +0200
committerGravatar dusanx <ef_dva@yahoo.com>2009-04-27 17:23:51 +0200
commita2e3422f5725dec68db7072dabf0b882d0fe2c81 (patch)
treefb0e9a1a387c678a4b7a0717b649b39ba85750d8 /uzbl.c
parentc23f33a8e2488223595210eaee6dea80739e654f (diff)
Exec external scripts
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uzbl.c b/uzbl.c
index 0562fac..c224f09 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -229,7 +229,7 @@ run_command(const char *command, const char *args) {
GString* to_execute = g_string_new ("");
gboolean result;
g_string_printf (to_execute, "%s '%s' '%i' '%i' '%s' %s", command, config_file, (int) getpid() , (int) xwin, "/tmp/uzbl_25165827", args);
- result = system(to_execute->str);
+ result = g_spawn_command_line_async (to_execute->str, NULL);
printf("Called %s. Result: %s\n", to_execute->str, (result ? "FALSE" : "TRUE" ));
return result;
}