Re: exec, passthru, etc. for interactive command line scrip ts

From: Date: Thu, 01 May 2003 18:11:15 +0000
Subject: Re: exec, passthru, etc. for interactive command line scrip ts
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-145993@lists.php.net to get a copy of this message
On Friday 02 May 2003 00:19, Lee P. Reilly wrote: > I should have mentioned that. I'm actually doing it the way you mentioned > for a few programs, but the one I'm having problems with was written in > Fortran in the 80s. I don't think the author ever saw a need to support > that. I do have the source code for it, but I'd rather find a solution in > PHP than do a Fortran hack. I think you've got it mixed up. Fixing the fortran program to accept the filename from the command line is preferable to hacking something in PHP. You can try something like: exec("echo 'filename' | fextrap.exe"); -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* A writer is congenitally unable to tell the truth and that is why we call what he writes fiction. -- William Faulkner */

« previous php.general (#145993) next »