Sorry, I can't help with this issue. It was just something to try based on
your last post.

I've cc'd this back to the list. Please keep the discussion there.

Thanks

John

-----Original Message-----
From: Tony McGuinness [mailto:[EMAIL PROTECTED]]
Sent: 19 February 2002 15:08
To: John Edwards
Subject: RE: Illegal seek


Hi John,

Thanks for the response.

I tried this to no avail.

The script I want to execute is executable.

Regards,

Tony

-----Original Message-----
From: John Edwards [mailto:[EMAIL PROTECTED]]
Sent: 19 February 2002 14:55
To: 'Tony McGuinness'; Perl List (E-mail)
Subject: RE: Illegal seek


OK. Maybe I've missed something here, but why are you storing a single
string in an array??

Try this

$arg = "$Basedir/ftpscr";
if (system($arg)) { die "cannot execute ftpscr $!"; }

John

-----Original Message-----
From: Tony McGuinness [mailto:[EMAIL PROTECTED]]
Sent: 19 February 2002 14:55
To: Perl List (E-mail)
Subject: Illegal seek


Hi there,

I checked up on system and rewrote the line that
calls system. Now I have:

@args = ("$Basedir/ftpscr");
system(@args) == 0 or die "cannot execute ftpscr $!";

but the script is not executed. No errors are returned.

Any ideas?


--------------------------Confidentiality--------------------------.
This E-mail is confidential.  It should not be read, copied, disclosed or
used by any person other than the intended recipient.  Unauthorised use,
disclosure or copying by whatever medium is strictly prohibited and may be
unlawful.  If you have received this E-mail in error please contact the
sender immediately and delete the E-mail from your system.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to