Skip to content

Commit

Permalink
Patch mwrap for debugging CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
lhearachel committed Jan 2, 2025
1 parent 1489216 commit 26e9e6b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/cw/mwrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,11 @@ int _tmain(int argc, _TCHAR *argv[])
printf("\n");
}
pid_t pid;
printf("new argv:");
for (size_t i = 0; i < new_argc; i++) {
printf(" %s", new_argv[i]);
}
printf("\n");
if (posix_spawn(&pid, new_argv[0], NULL, NULL, new_argv, environ) != 0) {
perror(PROGRAM_NAME ": posix_spawn");
exit(EXIT_FAILURE);
Expand Down

0 comments on commit 26e9e6b

Please sign in to comment.