#248151 busybox-static: please provide some "don't fork()" option

Package:
busybox-static
Source:
busybox
Description:
Standalone rescue shell with tons of builtin utilities
Submitter:
"Mario 'BitKoenig' Holbe"
Date:
2026-07-26 20:29:02 UTC
Severity:
wishlist
#248151#5
Date:
2004-05-09 16:01:21 UTC
From:
To:
Package: busybox-static
Version: 1:0.60.5-2.1
Severity: wishlist

Hello,

it would be really helpful, if you'd provide some
"don't fork()" option for busybox-static.

Currently, process accounting shows, that it fork()s,
even if you call a builtin command. This denies
the use of busybox in out-of-processes-scenarios
(where you need to have it started before of course :)).

Of course, not fork()ing implies, that pipelining
and redirection won't work (at least not so easy,
if ever).

This is probably something to forward to the upstream
author(s).


regards,
   Mario

#248151#10
Date:
2026-07-26 20:26:25 UTC
From:
To:
Hi!

This is a very old bug report, filed 22 years ago.

During this time, busybox gained nofork optimization
in quite a few places.  Not every applet can be run
without forking, but many simple ones can, and it is
done.

There's no reason, I think, to keep this bug open
anymore.

Thanks,

/mjt