Skip to main content.

2001-May-24

Wrote (and emailed to list) simple patch for blackbox so [exec] wouldn't use "/bin/sh -c"; I added another menu option "[shexec]" to use "/bin/sh -c" if you wanted. (Patch has one minor problem: it parses command line by spaces and so '"Midnight Blue"' becomes two arguments instead of being just one.

On systems that use bash as /bin/sh there is not much problem, because bash exec()'s the code and closes. But using ash, csh, ksh as /bin/sh causes blackbox to keep two processes running (for each menu entry)!