This looks dangerous. Please post the contents of myprog.pl and @test.wxparargs.
In reply to Re: exe with wx gui - pp/wxpar issues by marto in thread exe with wx gui - pp/wxpar issues by jhoop