man > fghack(8)

📛 NAME

fghack — is an anti-backgrounding tool.

🚀 Quick Reference

Use Case Command Description
Run a command in the foreground fghack <child> Runs child with many extra descriptors writing to a pipe, preventing it from backgrounding. Exits after child closes the pipe.
Guarantee foreground execution in scripts fghack myprogram Use fghack to wrap any program that might try to background itself, ensuring it stays in the foreground until completion.

📖 SYNOPSIS

fghack child

📝 DESCRIPTION

fghack runs child with many extra descriptors writing to a pipe. fghack reads and discards any data written to the pipe. After child has exited and the pipe has been closed, fghack exits.

🔗 SEE ALSO

supervise(8), svc(8), svok(8), svstat(8), svscanboot(8), svscan(8), readproctitle(8), phack(8), multilog(8), tai64n(8), tai64nlocal(8), setuidgid(8), envuidgid(8), envdir(8), softlimit(8), setlock(8)

http://cr.yp.to/daemontools.html

fghack(8)

fghack(8)
📛 NAME 🚀 Quick Reference 📖 SYNOPSIS 📝 DESCRIPTION 🔗 SEE ALSO

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-07 04:50 @2600:1f28:365:80b0:ed19:4cb6:6073:b302
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!