Re: [cli] ^D
| From: | Decapode Azur | Date: | Tue, 21 Oct 2003 10:03:49 +0000 |
| Subject: | Re: [cli] ^D | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166925@lists.php.net to get a copy of this message | ||
> > Is there a way, for a cli script, to detect Ctrl_D or Ctrl_Z ?
[...]
> Take a look at pcntl functions, namely pcntl_signal.
> But this extension is not enabled by default.
Ok thanks a lot.
Will those functions be integrated in the next main release?
This question is just to know if I distribute such a php script,
will allways the users have to recompile PHP to use it?