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
F139348280: D50538.id156067.diff
Thu, Dec 11, 2:27 AM
Unknown Object (File)
Nov 8 2025, 7:30 AM
Unknown Object (File)
Nov 6 2025, 3:41 AM
Unknown Object (File)
Oct 29 2025, 7:48 PM
Unknown Object (File)
Oct 26 2025, 10:50 PM
Unknown Object (File)
Oct 24 2025, 5:16 AM
Unknown Object (File)
Oct 21 2025, 6:35 AM
Unknown Object (File)
Oct 8 2025, 2:35 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