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 system too. It is documented > here https://docs.python.org/3/library/subprocess.html#subprocess.Popen > <https://docs.python.org/3/library/subprocess.html#subprocess.Popen>. Should I > add a check like this instead?
I think this is more important: https://docs.python.org/3/library/shlex.html I think removing `posix=` from the argument as in your first patch makes our command parsing conform to POSIX and that seems like a good thing for us. I will apply the first patch. Thanks Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel