ugtrain: replace run_shell_cmd() with run_cmd()

We don't need to run the shell as the shell would fork as well.
ugtrain: replace run_shell_cmd_pipe() with run_cmd_pipe()

We don't need to run the shell as the shell would fork as well.
ugtrain: use proc_name as C string
ugtrain: use adp_script as C string