Re: popen() and virtual dir
| From: | Rasmus Lerdorf | Date: | Sat, 10 Jun 2000 18:14:38 +0000 |
| Subject: | Re: popen() and virtual dir | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20960@lists.php.net to get a copy of this message | ||
> That sounds like a good idea! It might actually work. The question is, how
> do you do it on Windows? And do all major UNIX shells support the command1;
> command2 syntax? bash, tcsh and sh do, but I don't know about shells such
> as ksh and so on. Is this maybe in a standard?
On UNIX the shell functions default to /bin/sh
If someone has linked /bin/sh to something which does not handle cmd;cmd
then they will have all sorts of other problems, so I think it is pretty
safe to rely on that. On Windows, who knows...
-Rasmus