|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-06 05:45 UTC] sander@php.net
[2002-06-06 06:03 UTC] edink@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 03:00:01 2025 UTC |
testret.c i made... : #include <stdio.h> int main( int argc, char *argv[] ) { return atol(argv[1]); } compiled that into testret.exe.... test.php i made... : <? exec( 'c:\testret.exe 3', $rlines, $rval ); var_dump( $rval ); ?> outputs... int(1) -------------------- i've traced through the source a bunch trying to find what changed that broke it - my last build (worked fine) was from the cvs head sometime in feb - so the big changes that affect exec() are the streams. FG(pclose_ret) is not set correctly inside of exec() - i don't feel like getting into the streams right now to find it and i assume someone on the dev team has all of that fresh in their head and can probably find this problem quickly :) and it's obviously important since i'm sure many many people rely on exec()... -benjamin