Open mattn opened 12 years ago
I'm using vte 0.28.2 what version are you using?
also vte_terminal_fork_command is very limited now, I hope to add passing args and cmd. right now I've hard coded bash .
0.23.5
It seems that vte_terminal_fork_command can pass command and argv.
pid_t vte_terminal_fork_command(VteTerminal *terminal,
const char *command, char **argv,
char **envv, const char *directory,
gboolean lastlog,
gboolean utmp,
gboolean wtmp);
0.23.5 is pretty old, I cant even get it to build on archlinux. any chance you could use 0.28.2? Also added passing a string slice to Fork but its not complete it only works if you use []string{"bash","--login"} []string{"bash"} wont work. I used your []string to const\ functions from go-gtk I hope that's ok?
I tried to use this. But on my environment, vte_terminal_fork_command_full(). :-( Of couse, this is an issue of my environment that vte is too old.