[Glass] GsHostProcess execution string
Norm Green
norm.green at gemtalksystems.com
Wed May 27 13:52:23 PDT 2020
#performOnServer passes your string to a UNIX shell. You might need to
escape the bang character to protect it from the shell. Maybe change
`-pMysql8080!' to `-pMysql8080\!'
Norm
On 5/27/2020 1:15 PM, BrunoBB via Glass wrote:
> Hi,
>
> The following is working ok (GS 3.5.1):
> | str |
> str := 'mysql -h localhost -u root -pPassword -N -B -e "select distinct app
> from orbeon.orbeon_form_definition "'.
> System performOnServer: str.
>
> But the following is failing:
> | str |
> str := 'mysql -h localhost -u root -pMysql8080! -N -B -e "select distinct
> app from orbeon.orbeon_form_definition"'.
> GsHostProcess execute: str.
>
> Searching in the list there are couple of entries of GsHostProcess and
> problems with quotes but still no able to make it run.
>
> regards,
> bruno
>
>
>
> --
> Sent from: http://forum.world.st/GLASS-f1460844.html
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/glass
More information about the Glass
mailing list