in reply to Fork Opens CMD Not the Process

That code will not run at all. (Missing a semicolon after abc.exe.)

If you want help, please post actual code.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'