Mac Client

Started by Gregory S., March 24, 2009, 09:16:01 PM

Previous topic - Next topic

Gregory S.

Hello,

I was wondering if anyone had tried using fgl_putfile() and the shellexec frontend function on Mac OSX?

Thanks,

Greg

.

Hi Greg,
What GDC version are you using ?

file transfer (put/getfile) is expected to work the same way as on the linux version (you've to be sure GDC is allowed to write where you put the file) ; the current directory is the real binary executable, i.e. inside gdc.app bundle (from memory, gdc.app/Contents/MacOS/)

For ShellExec, we're basically calling "open". So the command you pass to GDC should work when doing "open myCommand" in a terminal.
You just have to know that:
- the syntax accepted by "open" depends on OSX version: we've for instance noticed that open mailto:.... needs to be urlencoded in 10.4 (replace space with %20) while it works correctly without in 10.5
- we don't start a shell, so you've sometimes to fight with quotes.

Hope this helps,
Regards,
Pierre-Nicolas