#!/bin/bash gnome-terminal --command='/home/user23/bin/n-youtube-dl "$1"'
I want to pass the argument passed to this script to the other script started in the terminal. But this starts endless gnome terminals.
Can you explain why that is and how to make this work?
I am running zsh has my main shell if that matters, the terminal starts the script in zsh then I guess.
#!/bin/bash gnome-terminal --command='echo "WTF"' read -p "Press [Enter] key"
Is just closing the term faster then I can see WTF. Isn't it supposed to stop? Same goes for replacing the
$1 again, no respawn.