Try giving an exit command at the end of your pc command. It exits from the pop up window as soon as your command gets executed.
Eg: STRPCCMD PCCMD(”’command” ”exit”’) PAUSE(*NO)
Register Hereor login if you are already a member
STRPCCMD PCCMD('start http:\www.google.com') PAUSE(*NO)