[sysprof] tools/sysprof-cli: always inherit stdin



commit c75391e681ce70dbd4cb1f2c4341dcd5aed633e3
Author: Christian Hergert <chergert redhat com>
Date:   Fri Apr 1 12:57:30 2022 -0700

    tools/sysprof-cli: always inherit stdin
    
    Fixes #76

 src/tools/sysprof-cli.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/tools/sysprof-cli.c b/src/tools/sysprof-cli.c
index 55530736..2386e481 100644
--- a/src/tools/sysprof-cli.c
+++ b/src/tools/sysprof-cli.c
@@ -349,6 +349,8 @@ Examples:\n\
 
   profiler = sysprof_local_profiler_new ();
 
+  sysprof_local_profiler_set_inherit_stdin (SYSPROF_LOCAL_PROFILER (profiler), TRUE);
+
   g_signal_connect (profiler,
                     "failed",
                     G_CALLBACK (profiler_failed),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]