tmux roslaunch (bash or sh?) [closed]

asked 2018-02-20 02:48:49 -0600

Dben gravatar image

I was trying to use gdb, tmux and roslaunch together and followed the explanation here:

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:

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?


edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Dben
close date 2018-04-30 04:33:30.189053


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 ?

Cyril Jourdan gravatar image Cyril Jourdan  ( 2018-04-20 10:18:12 -0600 )edit

using bash works for me

Dben gravatar image Dben  ( 2018-04-20 10:34:22 -0600 )edit

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.

Cyril Jourdan gravatar image Cyril Jourdan  ( 2018-04-20 10:41:08 -0600 )edit

mmh okay, maybe some environment issue. gonna close it

Dben gravatar image Dben  ( 2018-04-30 04:32:52 -0600 )edit