[Lazarus] ExecuteProcess and URL

Luis R. Hilario B. luisdigital at gmail.com
Thu Aug 12 15:27:03 CEST 2010


I'll try your option, but I have many years using without problems:

Process1.CommandLine := '/usr/bin/www-browser'+
' '+GetCurrentDir+PathDelim+HelpFile+Context;


All the problems are after upgrading to Mandriva 2010.1

Thank you.

2010/8/12 Marco van de Voort <marcov at stack.nl>:
> On Wed, Aug 11, 2010 at 10:34:08AM -0400, Luis R. Hilario B. wrote:
>> I am experiencing a problem with the URLs and some characters. E.g.
>>
>> file:///home/user1/help/file.html#help
>
>> It does not work, because the result is:
>>
>> file:///home/user1/help/file.html%23help
>
>> Web browsers say "File not found." (FF, Konqueror, Chromium)
>>
>> I tried TProcess, ExecuteProcess and UTF8Process, without positive results.
>
> These functions are for executing files, and don't take URLS (which are a
> web thing)
>
> Try openurl.
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
http://luisdigital.com




More information about the Lazarus mailing list