You can get the process ID through a shell to TaskList.
Using launch is in case you cannot get CreateProcess to work.