linux - Is it possible to have python open a terminal and write to it? -
for example, if have code:
subprocess.call(['gnome-terminal'])
is possible have python output strings specific terminal opened? thanks!
possibly, easier have custom process running in subordinate terminal. example, given sserv.py
example server in documentation command:
gnome-terminal -e "python ./sserv.py"
will happily chat on port 9999 you. given more complex sserv.py
want (anything terminalish, is).
Comments
Post a Comment