for API, use either CreateProcess or ShellExecute