You are not logged in.
Hello,
I have an bunsen-hydrogen running on a x32 over an USB stick installation.
I trying to make an script who starts windows(new terminator instance)
i did make an script test.sh:
#!/bin/bash
sleep 10
also i assigned privileges to execute:
chmod +x test.sh
and i started a new terminator(from a terminator) window as follow:
terminator -e <path_here>/test.sh
terminator open and show a message about is unable to start a shell.
then my graphic enviroment drops out and close session (also closing all aplications i have opened before)
can someone recreate/confirm this, please?
Thank you in advance.
Offline
Hi estuardolh, welcome to the forums!
I cannot reproduce this problem. The new terminal window opens and executes the script as it should, as far as I can see.
Are you sure you haven't made any spelling mistakes?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )
Offline
Hi johnraff, thank you for the welcome.
Yes, it was a mistake, i am sorry, i forget to assign privileges to execute test.sh (chmod +x test.sh). When i assign privileges then all works as expected.
Without assigning privileges to execute, i thing, you can now to recreate/confirm that error. Please, be sure you have no open programs because them will be closed.
Thank you for the answer!
Greetings
Last edited by estuardolh (2018-04-17 06:34:59)
Offline
Without assigning privileges to execute, i thing, you can now to recreate/confirm that error.
In fact, no. My experience is that if the script is not executable the terminator command returns immediately. No windows are destroyed.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )
Offline
I did make a screen cast showing this behavior
( https://youtu.be/F1_MeruBSb4 )
greetings
Last edited by estuardolh (2018-04-17 19:37:15)
Offline
Your 'ls' output shows a test.sh with no attributes at all. That's not a normal file.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )
Offline