diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-08-21 22:47:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 22:47:21 +0200 |
commit | 4bf15d809013c6c70af20632f181b5ca0e75e47c (patch) | |
tree | 51502d749dac35cd39468577bc77a241a6aad5cf /drivers/unix/os_unix.h | |
parent | 0a8ac1a57c00db32464b7ea30dd9fd6404936948 (diff) | |
parent | ca1c851dbdc14701695d9589225b44d5681606f0 (diff) |
Merge pull request #21236 from dragmz/windows-graceful-close
Try closing gracefully before terminating process
Diffstat (limited to 'drivers/unix/os_unix.h')
-rw-r--r-- | drivers/unix/os_unix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/os_unix.h b/drivers/unix/os_unix.h index 95b74d23ff..c5240231fa 100644 --- a/drivers/unix/os_unix.h +++ b/drivers/unix/os_unix.h @@ -91,7 +91,7 @@ public: virtual uint64_t get_ticks_usec() const; virtual Error execute(const String &p_path, const List<String> &p_arguments, bool p_blocking, ProcessID *r_child_id = NULL, String *r_pipe = NULL, int *r_exitcode = NULL, bool read_stderr = false); - virtual Error kill(const ProcessID &p_pid); + virtual Error kill(const ProcessID &p_pid, const int p_max_wait_msec = -1); virtual int get_process_id() const; virtual bool has_environment(const String &p_var) const; |