Re: [PATCH rtems-tools] rtemstoolkit: Fix shlex.split to use posix mode and add unit test for pipe operation

2023-06-20 Thread Chris Johns
On 21/6/2023 2:22 pm, Muhammad Sulthan Mazaya wrote: >> On 21/6/2023 11:55 am, Muhammad Sulthan Mazaya wrote: >> > Turns out subprocess.Popen operates on posix mode. >> >> Is this true for non-POSIX systems? >> >> Where is this documented? > > It's not, turns out it is also dependent on the

Re: [PATCH rtems-tools] rtemstoolkit: Fix shlex.split to use posix mode and add unit test for pipe operation

2023-06-20 Thread Muhammad Sulthan Mazaya
> On 21/6/2023 11:55 am, Muhammad Sulthan Mazaya wrote: > > Turns out subprocess.Popen operates on posix mode. > > Is this true for non-POSIX systems? > > Where is this documented? It's not, turns out it is also dependent on the system too. It is documented here

Re: [PATCH rtems-tools] rtemstoolkit: Fix shlex.split to use posix mode and add unit test for pipe operation

2023-06-20 Thread Chris Johns
On 21/6/2023 11:55 am, Muhammad Sulthan Mazaya wrote: > Turns out subprocess.Popen operates on posix mode. Is this true for non-POSIX systems? Where is this documented? Chris Also, there is an > issue with previous implementation of pipe command that is fixed by > Chris. Now, it can also

[PATCH rtems-tools] rtemstoolkit: Fix shlex.split to use posix mode and add unit test for pipe operation

2023-06-20 Thread Muhammad Sulthan Mazaya
Turns out subprocess.Popen operates on posix mode. Also, there is an issue with previous implementation of pipe command that is fixed by Chris. Now, it can also accepts command in form of a string. The unit test for that is added via this patch. --- rtemstoolkit/execute.py | 21