mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
processes: Put ChildProcess and ChildPID on separate lines.
* guix/scripts/processes.scm (daemon-session->recutils): Put child process information in separate fields. * doc/guix.texi (Invoking guix processes): Document change in output of 'guix processes'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
d4fac4be0d
commit
e1c81203ca
2 changed files with 17 additions and 11 deletions
|
@ -1,5 +1,6 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -188,8 +189,9 @@ active sessions, and the master 'guix-daemon' process."
|
|||
(format port "LockHeld: ~a~%" lock))
|
||||
(daemon-session-locks-held session))
|
||||
(for-each (lambda (process)
|
||||
(format port "ChildProcess: ~a:~{ ~a~}~%"
|
||||
(process-id process)
|
||||
(format port "ChildPID: ~a~%"
|
||||
(process-id process))
|
||||
(format port "ChildCommand: :~{ ~a~}~%"
|
||||
(process-command process)))
|
||||
(daemon-session-children session)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue