Running System Commands on NT, how do i gain a persistent connection with the prompt?
| From: | Isaac | Date: | Tue, 15 May 2001 20:40:34 +0000 |
| Subject: | Running System Commands on NT, how do i gain a persistent connection with the prompt? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-7588@lists.php.net to get a copy of this message | ||
PHP4.0.4pl1, Apache 1.3.12 on Windows2000:
Hi all, I am trying to run ANT, CVS and a few other command line utils from
a PHP web wrapper, the problem is for programs like CVS, there is a login,
in other words:
from the prompt:
"cvs login <username>"
cvs returns a request for the password, now, how do i open the above command
in a way that allows me to enter the password and continue on, reading and
writing to the same 'shell instance' more or less, basiclly the problem is
that I cannot get the excuting script to see me as real user rather than
some nobody at localhost, if I could make php/apache run as a specific user
with all their permission etc, that would be great and i wouldnt need a
persisnt prompt...any help out there?
p.s. obviously the win 'runas' command also requires a password so same
question there...
thanks
-Ike