gnunn1 / tilix

A tiling terminal emulator for Linux using GTK+ 3
https://gnunn1.github.io/tilix-web
Mozilla Public License 2.0
5.39k stars 294 forks source link

Strange behavior makedirs() python in Tilix #2032

Open boris-gu opened 3 years ago

boris-gu commented 3 years ago

I install ROS2 according to this instruction https://docs.px4.io/master/en/ros/ros2_comm.html#build-ros-2-workspace I settled on the command ‘source build_ros2_workspace.bash’.

If I execute it in gnome-terminal everything works fine. But if I execute this command in Tilix, then this error pops up, after which Tilix is closed. As I understand it, the problem is that the makedirs () command cannot get permission to create the directory. Since I only change the terminal, the problem is Tilix.

How can I fix this error? image

boris-gu commented 3 years ago

I was able to figure it out. The command "echo $0" in the gnome-terminal displays "bash". And in tilix she displays "/bin/bash". Why does tilix use a different shell?

237dmitry commented 3 years ago

Why does tilix use a different shell?

I think this is $SHELL environment variable.