[openbox] command contains $ and &

Johan Vromans jvromans at squirrel.nl
Tue Dec 14 15:10:23 EST 2010


Dana Jansens <dana at orodu.net> writes:

>> should not work (It doesn't, since it leaves &amp; in the command
>> instead of substituting a & . However, using a single & makes the XML
>> parser barf.)
>
> And you can't use shell things in a command unless you run them in a
> shell, as Jonas said.  Openbox has no intention of being a shell.  &
> is a shell thing like $()

If I understand the OP correctly, xxx&xxx is supposed to be just one
literal (the password).

<command>rdesktop xxx.xxx.xxx.xxx -u administrator -p &apos;xxxx&amp;xxxx&apos;</command>

Should be fine.

-- Johan


More information about the openbox mailing list