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)
Fri, Apr 24, 3:40 AM
Unknown Object (File)
Thu, Apr 23, 4:48 PM
Unknown Object (File)
Tue, Apr 21, 8:28 AM
Unknown Object (File)
Sun, Apr 19, 6:02 PM
Unknown Object (File)
Wed, Apr 15, 12:45 PM
Unknown Object (File)
Mon, Apr 6, 7:55 AM
Unknown Object (File)
Mar 26 2026, 1:07 PM
Unknown Object (File)
Mar 22 2026, 5:38 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