r/programmingtools • u/TomAnthony • Aug 06 '15
Terminal iTermocil - Create pre-defined window/pane layout (inc. commands) in iTerm
https://github.com/TomAnthony/itermocil
15
Upvotes
r/programmingtools • u/TomAnthony • Aug 06 '15
3
u/ericpruitt Aug 07 '15
You're using
os.systemwithout escaping your arguments. When using calls that farm out process execution to a shell (os.system,subprocess.Popen(..., shell=True), etc.), you should quote the arguments using shlex.quote. To ensure the arguments aren't conflated as command line flags, you should also launch programs like so when possible:command_name -- argument_1 argument_2. This way, even ifargument_1orargument_2start with "-", they won't be interpreted as flags.2
u/gentleangrybadger Aug 07 '15
Whatever happened to tmux?
2
u/centurijon Aug 06 '15
http://arresteddevelopment.wikia.com/wiki/Teamocil
1
u/TotesMessenger Aug 07 '15
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)