Re: Exec() again
| From: | CJD | Date: | Wed, 10 Oct 2001 23:52:40 +0000 |
| Subject: | Re: Exec() again | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9795@lists.php.net to get a copy of this message | ||
exec() will execute the app as the system, not a user, so cannot interact
with the desktop.
One way of getting around this would be (for NT) to use the exec() command
to create an AT schedule for 1 min in the future and set it to /interactive
which would cause the app to load and interact with the desktop of the
logged in user (if there was one). This is theory, by may just work.....
"Yaroukh" <yaroukh@email.cz> wrote in message
news:20011010145452.71477.qmail@pb1.pair.com...
> This works:
> Exec("mkdir myDirectory");
> ... this doesn't:
> Exec("C:\\Program Files\\WinAmp\\winamp.exe");
>
>