But ls exits when it finishes so of course the pane will close. Try with something that sticks around like "top" or "sleep 1000".
On Wed, 16 Jan 2019, 19:40 Waldemar Wosiński <[email protected] wrote: > Tried with `ls`. Same problem. > FYI: I use it through byobu to start 4 panes by tmuxrc file. All of that > on WSL > > WW > > On Wed, 16 Jan 2019 at 18:04, Nicholas Marriott < > [email protected]> wrote: > >> Works for me. Are you sure sbt is in your PATH? Try the full path to it. >> >> On Wed, 16 Jan 2019 at 17:16, Waldemar Wosiński >> <[email protected]> wrote: >> > >> > Hi, >> > I try to write a multipart bash-command. >> > The manual says it should work like with 'sh -c' but it doesn't. >> > >> > i tried: >> > new-window -n 10bg 'cd client-api && sbt' ; >> > and >> > new-window -n 10bg cd client-api \; sbt ; >> > and >> > new-window -n 10bg "cd client-api && sbt" ; >> > >> > sbt is not being fired. >> > >> > I tried as well setting the dir for the command but after: >> > new-window -n 10bg -c client-api sbt ; >> > the pwd is my home dir instead... >> > >> > Could you tell me how to do it, please? >> > -- >> > -------------------------- >> > Waldemar Wosiński >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "tmux-users" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to [email protected]. >> > To post to this group, send email to [email protected]. >> > For more options, visit https://groups.google.com/d/optout. >> > > > -- > -------------------------- > Waldemar Wosiński > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
