-
9de3d691
by Eric Pouech at 2025-10-15T21:43:47+02:00
cmd/tests: Add some tests when using "complex" commands in pipes.
Complex meaning either FOR, IF or chaining operators (&, &&, || and |).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
e66e00db
by Eric Pouech at 2025-10-15T21:43:50+02:00
cmd: Introduce a new node for describing blocks.
Note: this will allow to keep track of explicit blocks.
Semantically speaking, a block can hold redirection and echo off
('@') attributes, so it will also allow to properly propagate
and handle these attributes.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
6f2bf84f
by Eric Pouech at 2025-10-15T21:43:52+02:00
cmd: Refactor run_external_full_path().
In order to separate process creation from waiting for
process termination.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
609d6faf
by Eric Pouech at 2025-10-15T21:43:53+02:00
cmd: Introduce helper for handling pipe commands.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
486f33ee
by Eric Pouech at 2025-10-15T21:43:54+02:00
cmd: Run single commands in pipe in external cmd instance.
Note: all builtin commands in LHS or RHS of a pipe shall be run
in a separate cmd instance (to provide concurrency between RHS
and LHS).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>