Skip to content

Commit

Permalink
Fix to hex
Browse files Browse the repository at this point in the history
  • Loading branch information
PallHaraldsson committed Nov 7, 2024
1 parent c6c4f3f commit 7069812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/process.jl
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ process_signaled(s::Process) = (s.termsignal > 0)
function process_status(s::Process)
return process_running(s) ? "ProcessRunning" :
process_signaled(s) ? "ProcessSignaled(" * string(s.termsignal) * ")" :
process_exited(s) ? "ProcessExited(" * (Sys.iswindows() ? ("0x" * uppercase(string(s.exitcode, 16))) : string(s.exitcode)) * (
process_exited(s) ? "ProcessExited(" * (Sys.iswindows() ? ("0x" * uppercase(string(s.exitcode, base=16))) : string(s.exitcode)) * (
s.exitcode == 0xC0000139 ? " Hint: Could be a PATH problem)" : ")" # likely(?) related to libLLVM (i.e. a procedure entry point could not be located in the dynamic link library)
) :
error("process status error")
Expand Down

0 comments on commit 7069812

Please sign in to comment.