Jarek Kobus
afd70a2c67
StartProcessPacket: Get rid of m_processChannelMode
...
We handle process merging in CallerHandle.
Amends de1bef18e2
Change-Id: I682d600c3ddb0306167389b77cfae8181c1dc9d1
Reviewed-by: hjk <hjk@qt.io >
2022-03-31 13:22:51 +00:00
Jarek Kobus
b76b8b1542
ProcessReaper: Implement custom terminate for CtrlCStub case
...
Move CtrlCStub-specific interrupt into ProcessHelper.
Amends 7d7e4af3afb5ba9d0ed5210018dd6be67abda469
Change-Id: I5cd9a750c4a89587a874515f752b0144df4b8309
Reviewed-by: hjk <hjk@qt.io >
2022-03-31 12:48:42 +00:00
Jarek Kobus
82c2450fbe
Reuse ProcessSetupData in CallerHandle
...
Change-Id: I4a2d3fef15331343e7763149550280b722fc3781
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: hjk <hjk@qt.io >
2022-02-16 09:30:01 +00:00
Thiago Macieira
3dc9f709c9
QDataStream: don't stream enums that don't have explicit operators
...
Change-Id: I37d93a60a0d649688bddfffd1693e6b59553ad32
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
2021-09-01 16:07:23 +00:00
Jarek Kobus
a09bedf1cb
Conform to Creator's include style
...
Get rid of <QtModule/qclass.h> style and use <QClass> directly,
like in all other places in Creator. Remove some unneeded
declarations.
Change-Id: I1b5630850c570e5d86df01a341f7352bc1971e48
Reviewed-by: hjk <hjk@qt.io >
2021-08-19 15:59:03 +00:00
Jarek Kobus
b80624611b
Reuse ProcessHelper in process launcher
...
Handle lowPriority and unixTerminalDisabled inside
process launcher.
Change-Id: I7a8998e303da0e79186c1201fc6e1a76edb4e1b3
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2021-08-09 14:38:43 +00:00
Jarek Kobus
4e06d3ac74
Handle setNativeArguments inside process launcher
...
Change-Id: I4b4db2e5cf6b3ad4d8a39614573564145f125520
Reviewed-by: hjk <hjk@qt.io >
2021-08-09 13:31:24 +00:00
Jarek Kobus
8fa1a1f587
Handle belowNormalPriority inside process launcher on Windows
...
Remove setCreateProcessArgumentModifier() from the ProcessInterface
API and replace it with belowNormalPriority flag.
Change-Id: I6bcb92e56c3a68af7fa3e3a1c8b8eb13e3a2e5a7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: hjk <hjk@qt.io >
2021-08-09 13:23:37 +00:00
Jarek Kobus
25f585227f
Refactor openMode/keepWriteChannelOpen/closeWriteChannel
...
Change-Id: I4090533875ce1da864b6f8554ce59dbc1392a142
Reviewed-by: hjk <hjk@qt.io >
2021-08-09 07:51:26 +00:00
Jarek Kobus
535d312e93
Implement writing to process inside process launcher
...
Change-Id: I7321a941024d431cc52b3f6ae0b1ef38d851db8c
Reviewed-by: hjk <hjk@qt.io >
2021-08-06 14:32:21 +00:00
Jarek Kobus
ba037a707e
Implement readyRead inside process launcher
...
Change-Id: I3a27edef2307053b8c4c7d8f1dbf7e0400e27416
Reviewed-by: hjk <hjk@qt.io >
2021-08-05 18:53:22 +00:00
Jarek Kobus
17f907da9b
Implement setStandardInputFile() in ProcessLauncherImpl
...
Change-Id: I4d77c86ecb750573ce5421ca7300eb27f9f76108
Reviewed-by: hjk <hjk@qt.io >
2021-08-02 13:48:46 +00:00
Jarek Kobus
3527ea8942
Pass the OpenMode to process launcher
...
Change-Id: I8f2c344999c17a5b25a12ec16b2fe1d7b2481893
Reviewed-by: hjk <hjk@qt.io >
2021-07-14 14:25:07 +00:00
Jarek Kobus
d8286adc7c
Implement ProcessLauncher::processId()
...
Implement the reply confirmation for the started signal.
After qtcreator_processlauncher starts a new process
we connect to its started() signal and post a reply through
the socket to the LauncherInterface with the information about
the new PID. ProcessLauncherImpl now emits the started signal
with a delay, just after the confirmation has been received.
Change-Id: I2689e8e97b17466bd1f6b32c01909c12d80fcdef
Reviewed-by: hjk <hjk@qt.io >
2021-07-12 15:13:03 +00:00
Jarek Kobus
2aa533c7dd
Support ProcessChannelMode in ProcessLauncherImpl
...
Change-Id: Ifb919f19aac8ad223e6beb93c4c14fa4fdb204e9
Reviewed-by: hjk <hjk@qt.io >
2021-07-12 12:37:23 +00:00
Jarek Kobus
58d00f37d4
Initial import of processlauncher copy from qbs project
...
Change-Id: I9d646dd1a820e4e69c808998d9f12ff2f5dabe6d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: hjk <hjk@qt.io >
2021-07-08 12:12:10 +00:00