On 10/08/2017 12:31 AM, Frank Steiner wrote:
I see, but that was the latest version the opensuse build repositories offer. I'll try to compile form source.
Typically more recent versions are available from our repository, that is automatically populated with release and nightly builds - but you shouldn't mix OBS packages with our repository. More information, as always, on the wiki: https://wiki.x2go.org/doku.php/wiki:repositories:suse
Ok, I understand that. Getting quoting right for different shells is more than complicated...
Yeah, but I don't even want to get it right. I'd rather spawn bash and let it do the parsing, since that's providing the behavior we actually expect and use currently.
We had similiar problems in configuring a host with a bunch of ssh commands. Our solution was to create a bash script with all the neccessary code on the client side on the fly, copy it over to the target host and execute it there. Could that be solution here?
I've been thinking about this, yeah. I'd generally like to avoid writing temporary files and pushing them to the server for every command that the client executes, but unless I can come up with a better solution I'll probably have to go with that. As always, no ETA on that, though. Might take quite some time to get this done.
Mihai