summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-08-21 22:47:21 +0200
committerGitHub <noreply@github.com>2018-08-21 22:47:21 +0200
commit4bf15d809013c6c70af20632f181b5ca0e75e47c (patch)
tree51502d749dac35cd39468577bc77a241a6aad5cf /core
parent0a8ac1a57c00db32464b7ea30dd9fd6404936948 (diff)
parentca1c851dbdc14701695d9589225b44d5681606f0 (diff)
Merge pull request #21236 from dragmz/windows-graceful-close
Try closing gracefully before terminating process
Diffstat (limited to 'core')
-rw-r--r--core/os/os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os.h b/core/os/os.h
index dd783408e8..12c0222ad4 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -254,7 +254,7 @@ public:
virtual String get_executable_path() 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) = 0;
- virtual Error kill(const ProcessID &p_pid) = 0;
+ virtual Error kill(const ProcessID &p_pid, const int p_max_wait_msec = -1) = 0;
virtual int get_process_id() const;
virtual Error shell_open(String p_uri);