3 ms·
subprocess is just a wrapper written in python to the os.* functions. it adds a layer of win32 compatability and a consistant interface at the cost of some feat
by nikcub 15y ago
subprocess is just a wrapper written in python to the os.* functions. it adds a layer of win32 compatability and a consistant interface at the cost of some features
> I’ve written programs that used os.system or os.popen because, in earlier versions of Python, that was the recommended way to do it
just stick to using os.* - just because the documentation recommends you 'upgrade' doesn't mean it is right.