http://qs1969.pair.com?node_id=605722


in reply to Problem with 'system' function in Windows Vista

Your snippet makes no sense (although none of this explains the crash).

Did you really mean to execute the child asynchronously? You're acting as if you want the child to end before proceeding. If so, you want system(@cmd), not system(1, @cmd).