[Pkg-sysvinit-devel] An startpar with runlevel-full parallel execution
Jordi Pujol
jordi_pujol at telefonica.net
Sat May 9 13:58:47 UTC 2009
El Saturday 09 May 2009 10:45:59 Kel Modderman va escriure:
> Please do. I'd like to discuss it more with you.
>
Yes, some comments about the program,
> What is in current package is new version of startpar from SuSe/Werner
> Fink, with patches for Debian runlevel compatibility. All patches have been
> accepted by Werner (except I need to redo version of the getpty() hack with
> minor change and resend it).
to avoid using getpty(), and also avoid detecting if the corresponding
/dev/pts is already prepared, the solution that I took for Lnet startpar
were pipes,
each node has a pair, one for stdout and other for stderr.
When the process is not interactive, those pipes are used as intermediate
buffers.
The child process writes to the pipes, and when the process finishes, the
pipes are read and (optionally) printed on the screen.
Regards,
Jordi
More information about the Pkg-sysvinit-devel
mailing list