You could also try appending separate commands with double ampersands as with any shell:
command 1 && command 2 && command 3 This should execute each sequentially, as long as the exit codes are successful and no command runs in a loop. enohp ym morf tnes ----------- Dan Wilcox danomatika.com robotcowboy.com > On Feb 22, 2026, at 2:27 AM, Simon Iten <[email protected]> wrote: > > Thanks for the hints. In the meanwhile I „solved“ the issue by simply > creating enough shell objects to run my commands separately :) this works > very well for my application as well. Will checkout [command], thanks. > > > >> Am 22.02.2026 um 02:20 schrieb Roman Haefeli <[email protected]>: >> >>> On Sun, 2026-02-22 at 01:18 +0100, Simon Iten wrote: >>> >>> However if I send multiple pinctrl commands in a short timespan some >>> are dropped. >> >> Yeah, [shell] can only execute one command at the time. When [shell] is >> still busy with the last command, it'll simply ignore the current call. >> >> Anyway, you may want to try [command] which is a fork of [shell] with >> more features. [command] outputs the exit code when the execution of >> the command has completed. However, you still need to buffer your calls >> so that they are executed one after another. You'll find [command] in >> Deken. >> >>> Also, running pinctrl set 5.6.13 op dl for example does not work (it >>> should pull low those three outputs at once and works in the terminal >>> just fine) But PD also automagically adds spaces after the commas >>> once the message box is not edited anymore. >> >> That's not a [shell] specific issue, but is how Pd parses messages in >> general. A comma in message box is actually a delimiter for messages. >> By using unescaped commas you actually create multiple messages >> 'pinctrl set 5', '6', and '13 op dl'. >> >> 'exec pinctrl set 5\,6\,13 op dl' seems to work with [command] >> >>> >>> Are these known limitations of shell or is there a workaround to run >>> multiple commands at once? Adding & or ; to the end of the message >>> sent to shell does not work... >> >> I don't know about &, but ';' is also a Pd delimiter for sending >> messages. >> >> Roman >> >> --- >> [email protected] - the Pure Data mailinglist >> https://lists.iem.at/hyperkitty/list/[email protected]/message/H73WUW7EJCZHUG3YWZLTJAPJLW6ETM4P/ >> >> To unsubscribe send an email to [email protected] mailing list >> UNSUBSCRIBE and account-management -> https://lists.iem.at/ > > > --- > [email protected] - the Pure Data mailinglist > https://lists.iem.at/hyperkitty/list/[email protected]/message/6276YX23PTYOIQYVOPSK2NGGCALJ3TDK/ > > To unsubscribe send an email to [email protected] mailing list > UNSUBSCRIBE and account-management -> https://lists.iem.at/ --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/R6UNFY22JVVPAKNV7Y7TVRZBVHJCEE4I/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
