This commit is contained in:
Kovid Goyal 2023-01-14 15:58:26 +05:30
parent dd5cfe38b7
commit bc73273cb3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -154,7 +154,7 @@ spawn(PyObject *self UNUSED, PyObject *args) {
// Report the failure and exec a shell instead, so that we are not left
// with a forked but not exec'ed process
write_to_stderr("Failed to launch child: ");
write_to_stderr(argv[0]);
write_to_stderr(exe);
write_to_stderr("\nWith error: ");
write_to_stderr(strerror(errno));
write_to_stderr("\nPress Enter to exit.\n");