Since you are using execute(), which means you are giving up control on the child process, maybe you are doing things like deleting either file while the program is still running?
Or you are calling it again while it is still running?

Cheers,
_