why can't processes run by a script start like when I run them on cmd line