I am playing windows commands with python scripts.
for example I did:
import os print os.system("ipconfig -a")
but there is a problem with some commands.for example see this:
>netsh netsh>dhcp netsh>dhcp>scope 192.168.100.10
after playing the first one script, I have to come back to shell and play second one and ...
but how can I do it and also how can I do it in linux?