> Hi List, > > I want to end up with this text to pass to the shell, and it contains > quotation marks, I wondered how to do that. > > wkhtmltopdf *.html /tmp/temp.pdf --toc --header-right "Page [page]" > --footer- center "- EasyGP Medical Records -" --footer-spacing 5 > --footer-font-name "comic sans ms" > > any help appreciated. > > Regards > > Richard >
In Gambas 3, you can use the Shell$() function to quote arguments sent to a shell. And in your example, you should better use Exec instead of Shell to run the command. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user