in reply to perl - bash script problem
Sure, check your error messages. Post sample code. Are you running your bash file with system, exec or backtics?
close FILE; chmod(0755,$file) or die "Can't chmod $file $!\n"; $ret = `$file 2>&1`; print $ret; [download]