- doc clarification (identity manages egos, not identities)
[oweals/gnunet.git] / src / arm / do_start_process.c
index 0687fa3459d997fea864cc7c003ff3722f421642..d8ee1f0c3f9f3044f72cff283c44b4b2d999100e 100644 (file)
@@ -18,6 +18,8 @@
      Boston, MA 02111-1307, USA.
 */
 
+#include "gnunet_os_lib.h"
+
 /**
  * Actually start a process.  All of the arguments given to this
  * function are strings that are used for the "argv" array.  However,
@@ -119,13 +121,12 @@ do_start_process (int pipe_control, unsigned int std_inheritance,
 /* *INDENT-ON* */
   va_end (ap);
   argv[argv_size] = NULL;
-  binary_path = GNUNET_OS_get_libexec_binary_path (argv[0]);
-  proc = GNUNET_OS_start_process_v (pipe_control, std_inheritance, lsocks, 
+  binary_path = argv[0];
+  proc = GNUNET_OS_start_process_v (pipe_control, std_inheritance, lsocks,
                                    binary_path, argv);
   while (argv_size > 0)
     GNUNET_free (argv[--argv_size]);
   GNUNET_free (argv);
-  GNUNET_free (binary_path);
   return proc;
 }