Skip to content

Commit

Permalink
@debug the command being run when Pkg.test runs the tests in a su…
Browse files Browse the repository at this point in the history
…bprocess (#3671)

(cherry picked from commit e43501b)
  • Loading branch information
DilumAluthge authored and IanButterworth committed Oct 31, 2023
1 parent 1c5fcf9 commit 3ff4de8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2026,6 +2026,7 @@ end

# Handles the interrupting of a subprocess gracefully to avoid orphaning
function subprocess_handler(cmd::Cmd, ctx, sandbox_ctx, error_msg::String)
@debug "Running command" cmd
p = run(pipeline(ignorestatus(cmd), stdout = sandbox_ctx.io, stderr = stderr_f()), wait = false)
interrupted = false
try
Expand Down

0 comments on commit 3ff4de8

Please sign in to comment.