Variable Substitution not working in "Command Line" Template

Variable Substitution not working in "Command Line" Template

avatar

Hi All,

Wondering what i'm doing wrong here. I created a command line template with the below command and $HOST$ substitution isn't working

I'm using Devolutions RDM Mac 2024.3.9.0 - Note this used to work on an older version 2023.3.12.3

Last login: Thu Jan 23 18:28:21 on ttys001
open -a 'Google Chrome.app' $HOST$
blah@jd-mbk ~ % open -a 'Google Chrome.app' $HOST$
The file /Users/blah/jd-mbk.local$ does not exist.

$HOST$ isn't being substituted with the Host IP in the host entry,

I would expect the command line to run:

open -a 'Google Chrome.app' 10.1.1.1

If the host's entry was 10.1.1.1

Am i missing something?

Cheers

Josh

All Comments (5)

avatar

Hello,

to start we will need a bit more details about your setup so we can test on our side.

the $HOST$ variable get the his host from where? Is the command line a sub-connection?

Best regards,

Michel Lambert

avatar

Hi Michel

Thanks for response!! Here is what i have done.

Create a host entry with 10.1.1.1:

Create a Command Line Template with the below info:

Open the host entry you just created with the template you just created:

Last login: Thu Jan 23 21:59:27 on ttys000
open -a 'Google Chrome.app' https://$HOST$
blah@blah-mbk ~ % open -a 'Google Chrome.app' https://$HOST$ <------------ I'd expect 'https://$HOST$' to be substituted 'https://10.1.1.1/'
blah@blah-mbk ~ % 

Let me know if you need a screen recording

Cheers

Josh