What is the type of processID? If it is a string that contains the PID, you'll be fine. If it is an integer, then you will have problems — it should be a string; all arguments to a command are strings. And, FWIW, the command as written would work on Mac OS X, but fails on Linux with error: improper format list (but on Linux, you could use ps -opid,ppid,time with no space between the -o and the list of columns to be printed, or with two separate arguments).
processID? If it is a string that contains the PID, you'll be fine. If it is an integer, then you will have problems — it should be a string; all arguments to a command are strings. And, FWIW, the command as written would work on Mac OS X, but fails on Linux witherror: improper format list(but on Linux, you could useps -opid,ppid,timewith no space between the-oand the list of columns to be printed, or with two separate arguments).