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)
Mon, Apr 6, 7:55 AM
Unknown Object (File)
Thu, Mar 26, 1:07 PM
Unknown Object (File)
Sun, Mar 22, 5:38 AM
Unknown Object (File)
Fri, Mar 20, 6:05 AM
Unknown Object (File)
Feb 20 2026, 3:24 AM
Unknown Object (File)
Feb 9 2026, 12:19 AM
Unknown Object (File)
Feb 8 2026, 2:28 PM
Unknown Object (File)
Feb 8 2026, 11:24 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