1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-28 05:57:33 +03:00

execute: add comment explaining what stdio_as_fds does

This commit is contained in:
Lennart Poettering 2023-11-08 14:11:33 +01:00
parent c34eaeb5eb
commit 561c1529be

View File

@ -224,7 +224,11 @@ struct ExecContext {
ExecInput std_input;
ExecOutput std_output;
ExecOutput std_error;
/* At least one of stdin/stdout/stderr was initialized from an fd passed in. This boolean survives
* the fds being closed. This only makes sense for transient units. */
bool stdio_as_fds;
char *stdio_fdname[3];
char *stdio_file[3];