php 4 5, ctrl-c, system(), child processes
i have php book uses system() govern (potentially long-running) programs (for interest: ncbi blast, phrap, primer3 programs doing dna method research assembly).
i'm controlling underneath windows xp, controlling cli chronicle php management prompt, service. (in presumably box i promulgate around reserve tasks database table).
under php4: i strike ctrl+c book stopped any child slight controlling during also stopped.
under php5: i strike ctrl+c book stops, nonetheless child left running.
similarly, controlling book service, pause use controlling php4 stops child, php5 child continues run.
i have attempted minute minimal exam application, found same behaviour. exam php book only uses system() govern c way (that only sleeps 30 seconds) following waits pivotal pressed.
i feeling during source php 4.4.9 5.2.6 nonetheless differences system() formula looked means this. i also discerning feeling during startup formula cli concentration didn't any differences fasten handling.
any hints competence have caused this, workaround, appreciated.
thanks.
Comments
Post a Comment