Using konsole as the terminal causes some weird behavior, not specific to SREPD, but it would be good to figure out how to run the following command properly and understand what konsole is doing that other terminals are not. It looks like konsole may be passing in environment info as arguments or something similar:
/usr/bin/flatpak run org.kde.konsole --hold -e /usr/bin/ls -la
Resuts in:
/usr/bin/ls: unrecognized option '--env=TERM=xterm-256color'
With:
/usr/bin/flatpak run org.kde.konsole --hold -e /home/chcollin/.local/bin/ocm-container --verbose --cluster-id $CLUSTER_ID`
...the resulting ocm-container exec is passing arguments in weird places. The actual CLUSTER_ID ends up as the CMD argument, and there are weird --env values.
executing command: /usr/bin/podman create --privileged --rm --publish-all --env USER --env INITIAL_CLUSTER_LOGIN=--env=TERM=xterm-256color ...
It might be specific to the $TERM environment?
Using
konsoleas the terminal causes some weird behavior, not specific to SREPD, but it would be good to figure out how to run the following command properly and understand whatkonsoleis doing that other terminals are not. It looks likekonsolemay be passing in environment info as arguments or something similar:Resuts in:
With:
...the resulting ocm-container exec is passing arguments in weird places. The actual CLUSTER_ID ends up as the CMD argument, and there are weird --env values.
It might be specific to the $TERM environment?