Thank you Tong, but it doesn't work. It looks like spaces are not accepted either in one line or if divided to command parameters in the OS process sampler.
For example: command: bash parameters: -c 'printf text3 > filename4' Result: No file is created. command: bash parameters: -c 'printf text3 > filename4' Result: No file is created. Is there any workaround for this? Thanks & Regards. Shay On Mon, Aug 22, 2022 at 12:29 AM Tong Sun <[email protected]> wrote: > The redirection ">" sign is a shell feature. > > So wrap the whole thing in as a shell command, like: > > bash -c 'printf text3 > filename4' > > > On Sun, Aug 21, 2022 at 4:09 AM Shay Ginsbourg <[email protected]> > wrote: > > > Hi, > > > > Using the OS Process Sampler on Linux, the redirection ">" sign keeps > > failing. > > > > For example: > > > > Command: printf text3 > filename4 > > > > Is there any workaround for this redirection ? > > > > Thanks, > > Shay > > > -- Sincerely, Shay Ginsbourg, M.Sc. Mobile: 972 54 66 909 15 eMail: [email protected] Website: Ginsbourg.co.il <http://ginsbourg.co.il/> LinkedIn: linkedin.com/in/shayginsbourg Office: 57 Kedem St. Jaffa Israel 6817677 Software, Medical, and Mechanical Engineer. Performance, Automation, and Load Testing Expert. Regulatory Affairs Consultant. Freelancer since 2008.
