[Mageia-dev] [soft-commits] [4379] fix shutting down

Thierry Vignaud thierry.vignaud at gmail.com
Thu May 3 10:05:59 CEST 2012


On 3 May 2012 09:53, Guillaume Rousse <guillomovitch at gmail.com> wrote:
>> please use system("/usr/bin/chvt", "1"), or system(qw(/usr/bin/chvt 1))
>> instead in order to not fork useless shells.
>
> and kill is a perl builtin perl too:
> kill SIGRTMAX-10, 1

needs 'use POSIX;' though for symbolic values


More information about the Mageia-dev mailing list