php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #9743 can exec() or system() return the pid ?
Submitted: 2001-03-14 13:00 UTC Modified: 2002-04-27 15:03 UTC
From: tf at tfromm dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.4pl1 OS: linux
Private report: No CVE-ID: None
 [2001-03-14 13:00 UTC] tf at tfromm dot com
hi,

its possible to implement, that exec saves the new pid of 
the executed external programm into another parameter?
(like the output)



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-27 15:03 UTC] jimw@php.net
no, exec() and system() both only return when the process they spawn exits.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 05 17:01:27 2024 UTC