Closed ulope closed 7 years ago
The usage of sed combined with os.system is highly unreliable depending on the users choice of OS and / or shell.
sed
os.system
This PR replaces its use with plain python code that doesn't face those portability issues.
Seems to work well. Thanks.
The usage of
sed
combined withos.system
is highly unreliable depending on the users choice of OS and / or shell.This PR replaces its use with plain python code that doesn't face those portability issues.