In PERL I have an ssh command I run. I want to wait immediately after for

  • Thread starter Thread starter Licursi
  • Start date Start date
L

Licursi

Guest
the ssh command to complete. How? Basically it would be:

`ssh $user\@$machine \"rm -rf $delete_file\"
#it is right here where I want to wait for the ssh command to finish. Please tell me how to do that in PERL. Thanks!
 
Back
Top