diff src/remote.c @ 1144:5fe3b8b3a612

Add a wrapper around system() call named runcmd() which allows easier debugging. Improve the code launching the help browser.
author zas_
date Sat, 15 Nov 2008 10:35:43 +0000
parents 1646720364cf
children 3a7af6a8cd5f
line wrap: on
line diff
--- a/src/remote.c	Fri Nov 14 01:10:18 2008 +0000
+++ b/src/remote.c	Sat Nov 15 10:35:43 2008 +0000
@@ -743,7 +743,7 @@
 		if (get_debug_level()) g_string_append(command, " --debug");
 
 		g_string_append(command, " &");
-		system(command->str);
+		runcmd(command->str);
 		g_string_free(command, TRUE);
 
 		while (!rc && retry_count > 0)