[pmwiki-users] markup using exec

Christophe David pmwiki at christophedavid.org
Thu May 17 07:59:41 CDT 2007


>
> You could set a global variable in the function and then check if that
> variable has been set. If set (the second time the function is called)
> exit the markup function.
>


If the double click caused two processes to be started on the host, this
approach will probably not work.

A workaround could be to start a script (batch file) such as

if exist abc.tct goto END
echo busy>abc.txt
whatever.exe -a -b -c
del abc.txt
:END

Not very elegant, but will probably solve your problem.

----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070517/fca36e72/attachment-0001.html 


More information about the pmwiki-users mailing list