Hi
I send answer yesterday, but now I put more examples from my scripts at work: as first, very simple deadlock: Dpd-setup.sh < /dev/null Deadlock without patch: for NIC in ${RTE_NIC-0000:3d:00.1} ; do $RTE_SDK/usertools/dpdk-setup.sh <<< "51 ${NIC} 62 " Done Above works only witch additional empty line: for NIC in ${RTE_NIC-0000:3d:00.1} ; do $RTE_SDK/usertools/dpdk-setup.sh <<< "51 ${NIC} 62 " Done .. or other deadlock: usertools/dpdk-setup.sh <<< '41 62 ' usertools/dpdk-setup.sh <<< '41 62 ' Regards Piotr -----Original Message----- From: Thomas Monjalon <tho...@monjalon.net> Sent: 2020 May 24 19:08 To: Sieduszewski, Piotr <piotr.sieduszew...@intel.com> Cc: dev@dpdk.org; Piotr Sieduszewski <pi...@dobra.waw.pl>; sarosh.a...@emumba.com; m.bi...@emumba.com Subject: Re: [dpdk-dev] [PATCH] dpdk-setup.sh: Prevent infinite loop, when end of input. 30/03/2020 16:18, Piotr Sieduszewski: > From: Piotr Sieduszewski > <piotr.sieduszew...@intel.com<mailto:piotr.sieduszew...@intel.com>> > > Signed-off-by: Piotr Sieduszewski > <piotr.sieduszew...@intel.com<mailto:piotr.sieduszew...@intel.com>> Please add some explanations, it may help getting reviews. Thanks --------------------------------------------------------------------- Intel Technology Poland sp. z o.o. ul. Sowackiego 173 | 80-298 Gdask | Sd Rejonowy Gdask Pnoc | VII Wydzia Gospodarczy Krajowego Rejestru Sdowego - KRS 101882 | NIP 957-07-52-316 | Kapita zakadowy 200.000 PLN. Ta wiadomo wraz z zacznikami jest przeznaczona dla okrelonego adresata i moe zawiera informacje poufne. W razie przypadkowego otrzymania tej wiadomoci, prosimy o powiadomienie nadawcy oraz trwae jej usunicie; jakiekolwiek przegldanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.