Forum Discussion

kirk_bottomley's avatar
kirk_bottomley
Contributor
12 years ago

Is there a way to not show a failure if a process doesn't exist?

I've got a script that cleans up my folder for the next run. It can't copy files if the process is running, so I have a simple If process.exists, then process.terminate. Then it goes on to delete some...