My shell script stops after exec

exec replaces the shell process. Remove it if you only want to call the command as a subprocess instead.

Leave a Comment