• I have the same problem. My cmd.exe left open even the processes is already completed.

    EXECUTE xp_cmdshell '"D:\Folder\Task.exe" & exit'

    Can you please help me to solve this.

    Thanks!