[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Escape quotes
From: |
Martin Pala |
Subject: |
Re: Escape quotes |
Date: |
Tue, 27 Jan 2015 12:48:07 +0100 |
Hello,
you can use this:
if status != 0 then exec 'service.sh start "Symantec Antivirus"
Rtvscan.exe'
Note however that you should use full path to service.sh script as Monit
executes the program directly - not using sh.
Regards,
Martin
> On 27 Jan 2015, at 12:39, Kizito Porta Balanyà <address@hidden> wrote:
>
> Hello,
>
> How Can I scape quotes in exec?
>
> if status != 0 then exec "service.sh start "Symantec Antivirus" Rtvscan.exe"
>
>
> I want to scape "Symantec Antivirus" but monit remove the quotes.
>
>
> Thanks a lot.
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general