tilix icon indicating copy to clipboard operation
tilix copied to clipboard

Strange behavior makedirs() python in Tilix

Open boris-gu opened this issue 4 years ago • 2 comments

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 avatar Jun 14 '21 09:06 boris-gu

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?

boris-gu avatar Jun 15 '21 19:06 boris-gu

Why does tilix use a different shell?

I think this is $SHELL environment variable.

237dmitry avatar Jun 18 '21 09:06 237dmitry