summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonutils.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2021-08-04 09:58:20 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2021-08-05 18:53:41 +0000
commite41b6a0a299bad8ac56ab3aeb2f9f64a7ccae048 (patch)
treeead72642f3f14ec3ee342437dc2cafb845efe1c0 /src/plugins/python/pythonutils.cpp
parentd09f2c52c65349cb6b7180323eec324152e1c35f (diff)
downloadqt-creator-e41b6a0a299bad8ac56ab3aeb2f9f64a7ccae048.tar.gz
Make process reusable when killing the running one
Try to mimic the behavior of QProcess inside process launcher as much as possible. After calling QtcProcess::kill() we send StopProcessPacket to the process launcher - when we receive it there we start reaping of the process itself and report back the finished packet with a failure. Remove canceled state from the LanucherHandle, as after canceling the process we still need to handle the finished (or others) signals - like in case of QProcess. Change-Id: Id66b06449de06675a0ab6778e93e9782afea09d4 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/python/pythonutils.cpp')
0 files changed, 0 insertions, 0 deletions