Page MenuHomeFreeBSD

flua: fbsd: return a process handle to operate on when we exec()
ClosedPublic

Authored by kevans on May 27 2025, 12:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 8, 2:35 AM
Unknown Object (File)
Sat, Oct 4, 1:39 AM
Unknown Object (File)
Fri, Oct 3, 11:35 AM
Unknown Object (File)
Tue, Sep 30, 12:19 AM
Unknown Object (File)
Thu, Sep 25, 4:29 PM
Unknown Object (File)
Wed, Sep 17, 9:39 PM
Unknown Object (File)
Sep 13 2025, 3:33 AM
Unknown Object (File)
Sep 12 2025, 2:46 AM
Subscribers

Details

Summary

This gives us some way to be able to write to stdin if we want to, or
as a future improvement, will allow us to extract stdout from the
process. The handle is setup to close and waitpid() on close/gc so that
existing users wouldn't necessarily leak for the lifetime of the script
if they weren't adopted to the new model.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable