Imported Upstream version 17.22.1
[platform/upstream/libzypp.git] / zypp / ExternalProgram.h
index f3e67a0..b696182 100644 (file)
@@ -156,6 +156,11 @@ namespace zypp {
       bool kill();
 
       /**
+       * Send a signal to the program
+       */
+      bool kill( int sig );
+
+      /**
        * Return whether program is running
        */
       bool running();
@@ -231,7 +236,7 @@ namespace zypp {
       void start_program (const char *const *argv, const Environment & environment,
                        Stderr_Disposition stderr_disp = Normal_Stderr,
                        int stderr_fd = -1, bool default_locale = false,
-                       const char* root = NULL, bool switch_pgid = false);
+                       const char* root = NULL, bool switch_pgid = false, bool die_with_parent = false );
 
     };