Code

Bug #204779 win32 crash on help menu - win32 spawn problem
[inkscape.git] / src / io / sys.h
index b31602d9129bc5df57fe4135bbc4474f54052359..29c33c1c7c24919829e0923f19b23c028af46ce0 100644 (file)
@@ -18,6 +18,7 @@
 #include <glib/gtypes.h>
 #include <glib/gdir.h>
 #include <glib/gfileutils.h>
+#include <glibmm/spawn.h>
 #include <string>
 
 /*#####################
@@ -49,6 +50,15 @@ gchar* locale_to_utf8_fallback( const gchar *opsysstring,
 
 gchar* sanitizeString( gchar const * str );
 
+void spawn_async_with_pipes (const std::string& working_directory,
+                             const Glib::ArrayHandle<std::string>& argv,
+                             Glib::SpawnFlags flags,
+                             const sigc::slot<void>& child_setup,
+                             Glib::Pid* child_pid,
+                             int* standard_input,
+                             int* standard_output,
+                             int* standard_error);
+
 }
 }