Relative Content

Tag Archive for pythonpython-3.xwindowsctypeskernel32

Create Process in Debug Using Python ctypes

The following code is supposed to start a new process calc.exe in debug mode. However, it fails with the code 2 or ERROR_FILE_NOT_FOUND. However, this file calc.exe does exist on the system. What could be wrong with this code? Is there an issue with the path that can be improved so this works?