os: std.ChildProcess -> std.process.Child

std.ChildProcess was deprecated in favor of std.process.Child a few
releases back, and the old name is removed in Zig 0.13.0.
This commit is contained in:
Jon Parise
2024-06-07 12:36:30 -04:00
parent 54ccefe838
commit b1e1d8c3eb
3 changed files with 6 additions and 6 deletions

View File

@@ -1,14 +1,14 @@
//! Command launches sub-processes. This is an alternate implementation to the
//! Zig std.ChildProcess since at the time of authoring this, ChildProcess
//! Zig std.process.Child since at the time of authoring this, std.process.Child
//! didn't support the options necessary to spawn a shell attached to a pty.
//!
//! Consequently, I didn't implement a lot of features that std.ChildProcess
//! Consequently, I didn't implement a lot of features that std.process.Child
//! supports because we didn't need them. Cross-platform subprocessing is not
//! a trivial thing to implement (I've done it in three separate languages now)
//! so if we want to replatform onto std.ChildProcess I'd love to do that.
//! so if we want to replatform onto std.process.Child I'd love to do that.
//! This was just the fastest way to get something built.
//!
//! Issues with std.ChildProcess:
//! Issues with std.process.Child:
//!
//! * No pre_exec callback for logic after fork but before exec.
//! * posix_spawn is used for Mac, but doesn't support the necessary