in reply to Executable prepared using pp is creating some temporary folders
See the -C flag from pp. Your program is currently running from within the temporary directory, so you can't remove it while it's running.