RE: running gzip with the system function

2001-05-01 Thread King, Jason
lance turner writes .. >Thanks Jason for your reply. > >I tried using an absolute path for gzip, but I'm getting the >same error. > >I don't understand why I can run gzip from the shell but can't run it >through perl. I'm able to run tar and other programs using the system >function but not g

RE: running gzip with the system function

2001-04-30 Thread King, Jason
lance turner writes .. >I'm trying to use the system function to run the gzip program with >the following line of code: > > $status = system("gzip $filename"); > > where $filename is the file that is to be compressed > >It isn't working and a status of 65280 is being returned. retu

running gzip with the system function

2001-04-30 Thread lance turner
I'm trying to use the system function to run the gzip program with the following line of code: $status = system("gzip $filename"); where $filename is the file that is to be compressed It isn't working and a status of 65280 is being returned. I've also tried other variations: