Comment 2 for bug 247330

Revision history for this message
Thomas Hurst (tom.hurst) wrote :

gnome-terminal uses g_shell_parse_argv() on the argument, which "does a semi-arbitrary weird subset of the way the shell parses a command line."

xterm attempts to execv() and failing that calls the shell using execlp.

I suggest we follow the latter; terminator -e "/bin/bash -c /usr/bin/python" would result in us telling vte to fork '/bin/sh -c "/bin/bash -c /usr/bin/python"' (or whatever the user's shell is). Far easier than making our own argument tokenizer.