STINNER Victor <vstin...@python.org> added the comment:
> FileNotFoundError: [Errno 2] No such file or directory: './demo' './demo' filename is set with the following code in Modules/posixmodule.c: if (err_code) { errno = err_code; PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path->object); goto exit; } I understand that Tomas wants to raise the OSError with no filename. I add Pablo and Joannah in the loop, they worked on exposing posix_spawn function in Python. ---------- nosy: +nanjekyejoannah, pablogsal _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43113> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com