Request for Enhancement:
Please place "execute" scripts return codes and the full run string in the log:
Old way:
Executing the program C:\Program Files\Rakudo\bin\raku.exe and waiting for it to exit.
The program C:\Program Files\Rakudo\bin\raku.exe has been successfully executed and has terminated.
New way:
Executing the program C:\Program Files\Rakudo\bin\raku.exe C:\NtUtil\TestServer.pl6 and waiting for it to exit.
The program C:\Program Files\Rakudo\bin\raku.exe has been successfully executed and has terminated with a return code of 1.
RFE: Please place execute and wait's return code into the log
Re: RFE: Please place execute and wait's return code into the log
--
Luis Cobian
Cobian Backup's creator
Luis Cobian
Cobian Backup's creator
Re: RFE: Please place execute and wait's return code into the log
Revisiting the code, tes, the exit code IS logged.
--
Luis Cobian
Cobian Backup's creator
Luis Cobian
Cobian Backup's creator
Re: RFE: Please place execute and wait's return code into the log
N0t seeing it in 2.5.10
It is2024-01-24 22:21:19 The program C:\Program Files\Rakudo\bin\raku.exe has been successfully executed and has terminated.
1) missing the rest of the run string, and
2) missing the return exit code
Re: RFE: Please place execute and wait's return code into the log
I think it is logged if the result is not zero.
--
Luis Cobian
Cobian Backup's creator
Luis Cobian
Cobian Backup's creator
Re: RFE: Please place execute and wait's return code into the log
This is a sample:
So it does only show if not zero. If it is not too much trouble, I would like to see the code no matter what it is.2024-01-24 14:52:08 The program C:\Program Files\Rakudo\bin\raku.exe has been successfully executed and has terminated.
ERR 2024-01-24 14:52:08 The exit code of the program "C:\Program Files\Rakudo\bin\raku.exe" is not zero. Exit code: 1
And, I'd also like to see the rest of the run string too, not just the first parameter.