mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Command: add comment about wait blocking on Windows
This commit is contained in:
@ -306,6 +306,7 @@ fn setupFd(src: File.Handle, target: i32) !void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Wait for the command to exit and return information about how it exited.
|
/// Wait for the command to exit and return information about how it exited.
|
||||||
|
/// "block" is currently not respected on Windows.
|
||||||
pub fn wait(self: Command, block: bool) i32 {
|
pub fn wait(self: Command, block: bool) i32 {
|
||||||
if (comptime builtin.os.tag == .windows) {
|
if (comptime builtin.os.tag == .windows) {
|
||||||
// Block until the process exits. This returns immediately if the
|
// Block until the process exits. This returns immediately if the
|
||||||
|
Reference in New Issue
Block a user