Re: Not able to execute Linux binary
| From: | Jerry M. Howell II | Date: | Mon, 08 Dec 2003 05:42:06 +0000 |
| Subject: | Re: Not able to execute Linux binary | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172141@lists.php.net to get a copy of this message | ||
On Mon, Dec 08, 2003 at 01:28:11PM +0800, Jason Wong wrote:
> On Monday 08 December 2003 12:56, Karam Chand wrote:
> > I think there is some problem with the permission.
> > Even if I execute a command like -
> >
> > echo ( "start" );
> > exec ( "pwd" );
> > echo ( "end" );
> >
> > the output is - startend
> >
> > shouldnt be pwd showing the present working directory
> > to me.
>
> Yes, but exec() itself does NOT output anything.
>
If there is a beter way, someone reply but I beleave the command you are
looking for is system()
--
Jerry M. Howell II