Skip to content
Snippets Groups Projects
Commit c614c412 authored by Raymond Toy's avatar Raymond Toy
Browse files

Include the exit code when printing the process structure.

It's really nice to see the exit code of the process when printing out
the process structure.

Fix a typo too: "tings" -> "things".
parent c49d87c7
No related branches found
No related tags found
No related merge requests found
......@@ -90,15 +90,16 @@
output ; Stream from child's output or nil.
error ; Stream from child's error output or nil.
status-hook ; Closure to call when PROC changes status.
plist ; Place for clients to stash tings.
plist ; Place for clients to stash things.
cookie ; List of the number of pipes from the subproc.
)
(defun %print-process (proc stream depth)
(declare (ignore depth))
(format stream "#<process ~D ~S>"
(format stream "#<process ~D ~S code: ~S>"
(process-pid proc)
(process-status proc)))
(process-status proc)
(process-exit-code proc)))
;;; PROCESS-STATUS -- Public.
;;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment