[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 19/24: shepherd: "shepherd -s -" replies to the current outpu
From: |
Ludovic Courtès |
Subject: |
[shepherd] 19/24: shepherd: "shepherd -s -" replies to the current output port. |
Date: |
Mon, 28 Mar 2022 17:24:48 -0400 (EDT) |
civodul pushed a commit to branch wip-fibers
in repository shepherd.
commit 57c71ba247db22ea5e539d3d32b3b1c8ad890c1c
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Mar 28 16:00:51 2022 +0200
shepherd: "shepherd -s -" replies to the current output port.
* modules/shepherd.scm (process-textual-commands):
Pass (current-output-port) as the second argument to 'process-command'.
---
modules/shepherd.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/shepherd.scm b/modules/shepherd.scm
index 9fec3fb..16c242e 100644
--- a/modules/shepherd.scm
+++ b/modules/shepherd.scm
@@ -509,7 +509,7 @@ would write them on the 'herd' command line."
(process-command (shepherd-command (string->symbol action)
(string->symbol service)
#:arguments arguments)
- port))
+ (current-output-port)))
(_
(local-output (l10n "invalid command line") line)))
(loop (read-line port))))))
- [shepherd] branch wip-fibers created (now 8664372), Ludovic Courtès, 2022/03/28
- [shepherd] 02/24: build: Drop support for Guile 2.0., Ludovic Courtès, 2022/03/28
- [shepherd] 03/24: Use Fibers., Ludovic Courtès, 2022/03/28
- [shepherd] 05/24: shepherd: Use one fiber for signal handling, and one for clients., Ludovic Courtès, 2022/03/28
- [shepherd] 08/24: shepherd: Encode log as UTF-8 unconditionally., Ludovic Courtès, 2022/03/28
- [shepherd] 10/24: doc: Fix inetutils cross-reference., Ludovic Courtès, 2022/03/28
- [shepherd] 12/24: service: Remove unused 'make-init.d-service'., Ludovic Courtès, 2022/03/28
- [shepherd] 13/24: service: Add the #:transient? slot., Ludovic Courtès, 2022/03/28
- [shepherd] 18/24: shepherd: Remove half-baked readline support., Ludovic Courtès, 2022/03/28
- [shepherd] 19/24: shepherd: "shepherd -s -" replies to the current output port.,
Ludovic Courtès <=
- [shepherd] 17/24: service: Add 'start-in-the-background'., Ludovic Courtès, 2022/03/28
- [shepherd] 14/24: service: Add inetd constructor and destructor., Ludovic Courtès, 2022/03/28
- [shepherd] 15/24: service: Allow 'running' value to be a thunk., Ludovic Courtès, 2022/03/28
- [shepherd] 20/24: service: Add #:handle-termination slot., Ludovic Courtès, 2022/03/28
- [shepherd] 22/24: service: 'make-inetd-constructor' lets the caller specify socket ownership., Ludovic Courtès, 2022/03/28
- [shepherd] 06/24: service: 'read-pid-file' no longer blocks., Ludovic Courtès, 2022/03/28
- [shepherd] 09/24: service: 'make-forkexec-constructor' spawns a logging fiber., Ludovic Courtès, 2022/03/28
- [shepherd] 16/24: service: Add systemd constructor and destructor., Ludovic Courtès, 2022/03/28
- [shepherd] 11/24: support: 'l10n' accepts plural forms., Ludovic Courtès, 2022/03/28
- [shepherd] 01/24: shepherd: Factorize out the main loop., Ludovic Courtès, 2022/03/28