|
|
|
|
||||||
| comp.info.servers.win Web servers for MS Windows and NT. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I am using Apache 2.0.54 on Windows XP SP2. I am invoking CGI (.exe) over SSL via POST method. Inside the CGI there is a command: system("tar ..."); If I invoke this CGI simultaneously only the first one is able to execute the command, later ones give the error: The process cannot access the file because it is being used by another process.\r, referer: https://192.168.1.1/ Any ideas, would this be a configuration problem ? --Gopu |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
hgopakumar@gmail.com wrote:
> I am using Apache 2.0.54 on Windows XP SP2. I am invoking CGI (.exe) > over SSL via POST method. Inside the CGI there is a command: > > system("tar ..."); > > If I invoke this CGI simultaneously only the first one is able to > execute the command, later ones give the error: > > The process cannot access the file because it is being used by another > process.\r, referer: https://192.168.1.1/ > > Any ideas, would this be a configuration problem ? I always have a harder time with this type of thing on windows, but possibly could you mark the folder sharable? -- --. --=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML/CSS,Javascript,TCP ... --` |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
I got it working. Problem was that, for debugging I was executing:
system("tar ... 2>> debug.out"); So the first instance opened the debug.out file and Windows does not allow the subsequent instances to open the file for writing. Thank You Dr. Clue for responding. --Gopu |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
|
|
![]() |
| Outils de la discussion | |
|
|