diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-11-30 15:02:15 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-11-30 15:02:21 +0100 |
| commit | 2025481f8c19fd73a611e517a0c91c15d7ed390a (patch) | |
| tree | a6ae01c2e3cb4b4f0b2f5441f5a7441aa8fde0f8 /fluid/shell_command.cxx | |
| parent | a1a3a3109078d5920985066858d6747844d560c4 (diff) | |
FLUID: Add dialog box when processes are still runing when user tries to quit.
Diffstat (limited to 'fluid/shell_command.cxx')
| -rw-r--r-- | fluid/shell_command.cxx | 8 |
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. |
