summaryrefslogtreecommitdiff
path: root/fluid/shell_command.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/shell_command.cxx')
-rw-r--r--fluid/shell_command.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/fluid/shell_command.cxx b/fluid/shell_command.cxx
index b2fe85373..1af872ae0 100644
--- a/fluid/shell_command.cxx
+++ b/fluid/shell_command.cxx
@@ -105,7 +105,12 @@
static Fl_String fltk_config_cmd;
static Fl_Process s_proc;
-
+/**
+ See if shell command is running (public)
+ */
+bool shell_command_running() {
+ return s_proc.desc() ? true : false;
+}
/**
Reads an entry from the group. A default value must be
@@ -285,6 +290,7 @@ void Fl_Process::clean_close(HANDLE& h) {
#endif
+
/**
Prepare FLUID for running a shell command according to the command flags.