tmux roslaunch (bash or sh?) [closed]
I was trying to use gdb, tmux and roslaunch together and followed the explanation here: http://wiki.ros.org/action/login/rosl...
I couldn't make it work using this :
launch-prefix="/path/to/run_tmux": run your node in a new tmux window; you'll need to create /path/to/run_tmux with the contents:
#!/bin/sh
tmux new-window "gdb --args $*"
I had to replace #!/bin/sh
by #!/bin/bash
. My .bahrc is empty, I use zsh by default. I was about to edit the wiki, but could does it work for anyone with sh
? If so, why?
Thanks
I tried with both sh and bash, and for me the node crashes with a message [my_node] process has died ... Is it working for you now ?
using bash works for me
Sorry my bad, it works with sh, I wasn't launching from a tmux session, just from a terminal, I thought it would create it for me, but it just create a new window.
mmh okay, maybe some environment issue. gonna close it