aboutsummaryrefslogtreecommitdiff
path: root/libraries/Bridge/Process.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Bridge/Process.h')
-rw-r--r--libraries/Bridge/Process.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/Bridge/Process.h b/libraries/Bridge/Process.h
index b48e046..ac22b15 100644
--- a/libraries/Bridge/Process.h
+++ b/libraries/Bridge/Process.h
@@ -39,6 +39,8 @@ public:
unsigned int exitValue();
void close();
+ operator bool () { return started; }
+
// Stream methods
// (read from process stdout)
int available();