in reply to Re^2: how to system call that exits
in thread how to system call that exits

You can also properly quote your filename for cmd.exe and then it will work as well:

my $cmd = "C:\\Program Files\\qbittorrent\\qbittorrent.exe"; my @args = (...); my @cmd = (qq{"$cmd"}, @args); system @cmd == 0 or warn "Couldn't launch [@cmd]: $! / $^E";