Same command works from terminal but doesn't when automated #821
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Let's say I open up another terminal, for example -
kgx
- or even cool-retro-term. I want a new instance of cool-retro-term with a specific command, so I type in:For example:
It works. Another window pops up with the correct output for tagging files:
But now let's do exactly the same, but from Nautilus automated script. (I know what you want to reply - "It's a Nautilus issue" - please, let me explain in full).
My .sh script basically amounts to running the same command as above. Identical:
How do I know this? By outputting the wanna-be-result into a file. The script:
And the moment of truth, let's compare
try.txt
to my manual command:They are the same!
And yet, if I launch my Nautilus script, the cool-retro-term opens... starts complaining about missing pip packages (as if the .bashrc environmental vars weren't properly loaded) and exits within milliseconds.
How do I fix this? I debugged this to my limit, trying for three days now.
I have the same issue and want it fixed... I tried to execute cool-retro-term from standard terminal - works, from scripts (such as bash, Python scripts and even Cinnamon launchers and launching command through KDE Connect) - doesn't work.
The interesting thing is, when trying to execute cool-retro-term with --verbose, it doesn't tell that there's errors, it only tells that qml is loading, then storing the settings.
What i found out is that it keeps running if you append
& sleep 5
into the command, but the window instantly closes when launched... I consider this a bug now.Yeah, I tried to get some attention in a similar thread here: https://github.com/Swordfish90/cool-retro-term/issues/728#issuecomment-2149456156 but to no avail @Sectonidse