Forum Moderators: coopster & phranque

Message Too Old, No Replies

Problem with system calls in CGI

System calls in CGI applications

         

diamondgrl

10:53 pm on May 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I migrated servers from Windows 2000 Server to Windows 2003 Server and now my Perl CGI scripts that contain the "system" command no longer work.

I thought it might be a file permissions issue since it was a system("copy ...") that failed, but it turns out that all system calls are failing (they return a 255 error).

Any idea how to get around this problem?

jatar_k

3:36 pm on Jun 1, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



error 255 seems to be an unknown fatal error as far as my searching tells me.

Have you looked at paths?

diamondgrl

12:40 am on Jun 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No, I have not.

Forgive my ignorance (I'm not exactly a newbie but I have a lot of gaps in my programming knowledge) but how would one do that, what should I expect to see and how might that get me closer to solving this problem?