Re: [PATCH v4 12/14] cmd: add spawn and wait commands

2025-04-04 Thread Mattijs Korpershoek
Hi Jerome, Thank you for the patch. On mar., mars 18, 2025 at 11:46, Jerome Forissier wrote: [...] > > obj-$(CONFIG_HUSH_SELECTABLE) += cli.o > > +obj-$(CONFIG_CMD_SPAWN) += spawn.o > + > obj-$(CONFIG_ARM) += arm/ > obj-$(CONFIG_RISCV) += riscv/ > obj-$(CONFIG_SANDBOX) += sandbox/ > d

Re: [PATCH v4 12/14] cmd: add spawn and wait commands

2025-04-04 Thread Jerome Forissier
Hi Mattijs, On 3/31/25 09:54, Mattijs Korpershoek wrote: > Hi Jerome, > > Thank you for the patch. > > On mar., mars 18, 2025 at 11:46, Jerome Forissier > wrote: > > [...] > >> >> obj-$(CONFIG_HUSH_SELECTABLE) += cli.o >> >> +obj-$(CONFIG_CMD_SPAWN) += spawn.o >> + >> obj-$(CONFIG_ARM)

Re: [PATCH v4 12/14] cmd: add spawn and wait commands

2025-03-18 Thread Ilias Apalodimas
On Tue, 18 Mar 2025 at 12:47, Jerome Forissier wrote: > > Add a spawn command which runs another command in the background, as > well as a wait command to suspend the shell until one or more background > jobs have completed. The job_id environment variable is set by spawn and > wait accepts option

[PATCH v4 12/14] cmd: add spawn and wait commands

2025-03-18 Thread Jerome Forissier
Add a spawn command which runs another command in the background, as well as a wait command to suspend the shell until one or more background jobs have completed. The job_id environment variable is set by spawn and wait accepts optional job ids, so that one can selectively wait on any job. Example