[all-commits] [llvm/llvm-project] 2fcf24: Reland "[llvm][Support] Add support for executing ...
Connor Sughrue via All-commits
all-commits at lists.llvm.org
Wed Mar 6 20:45:32 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2fcf248ec2614dd966f31d471a1a97989a76fd9d
https://github.com/llvm/llvm-project/commit/2fcf248ec2614dd966f31d471a1a97989a76fd9d
Author: Connor Sughrue <55301806+cpsughrue at users.noreply.github.com>
Date: 2024-03-06 (Wed, 06 Mar 2024)
Changed paths:
M llvm/include/llvm/Support/Program.h
M llvm/lib/Support/Program.cpp
M llvm/lib/Support/Unix/Program.inc
M llvm/lib/Support/Windows/Program.inc
M llvm/unittests/Support/ProgramTest.cpp
Log Message:
-----------
Reland "[llvm][Support] Add support for executing a detached process (#81708)" (#83367)
Relands #81708, which was reverted by
f410f74cd5b26319b5796e0404c6a0f3b5cc00a5, now with a corrected unit
test. Origionally the test failed on Windows when run with lit as
`GetConsoleWindow` could not retrieve a window handle regardless of
whether `DetachProcess` was `true` or `false`. The test now uses
`GetStdHandle(STD_OUTPUT_HANDLE)` which does not rely on a console
window existing. Original commit message below.
Adds a new parameter, `bool DetachProcess` with a default option of
`false`, to `llvm::sys::ExecuteNoWait`, which, when set to `true`,
executes the specified program without a controlling terminal.
Functionality added so that the module build daemon can be run without a
controlling terminal.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list