From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: Perl submit script issues
   Date: Tue, 19 Jul 2005 10:55:14 -0700
Msg# 993
View Complete Thread (8 articles) | All Threads
Last Next
Andrew Kingston wrote:
I found what was causing the problem. There was a piece of code which a colleague had added (I thought it was from the original example script), which used unix commands (mv, awk, etc which were in the system path because cygwin is installed on all our windows machines). These were then executed using system() in the section around where the script creates defaults, or loads previous settings in to the gui - that's why it worked OK sometimes & not others. If you run the Cygwin awk from a DOS command prompt, you should see something akin to the error I was getting.

	Really?

	Sounds like it might be a 16 bit version of Cygwin, or a 16 bit
	version of perl.

	Perl's system() and DOS (cmd.exe) should be able to invoke 32 bit versions
	of Cygwin (such as mv, awk, etc) just fine..

	I think the problem is deeper; either a 16 bit version of Perl, DOS,
	or Cygwin is involved here..


--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Cel: (Tel# suppressed)
Fax: (Tel# suppressed)

Last Next