Forum OpenACS Development: Re: Image resizing, exec and server problems

Collapse
Posted by Gustaf Neumann on
Malte wrote:

Sadly I have no clue how I can write a procedure which checks if proxy::exec exists
Use [info exists ::proxy::exec]. If it returns empty, ::proxy::exec does not exist.


... model in ad_proc an arbitrary number of arguments...

Try in ds/shell:

ad_proc ppp {args} {doc} {return "< $args >>"}
ppp these are multiple arguments

Collapse
Posted by Malte Sussdorff on
Thanks. The first one is already in use, I was more concerned about the multiple arguments, for whatever the reason it did not like it the way I used it before. Works and is committed.