Hi

Working with NativeBoost I'm trying to figure out if there is a way I can pass 
an array of arguments to a function like so:

MyExample run: 'echo' args: { 'foo' }.


nbRun: str args: args
        <primitive: #primitiveNativeCall module: #NativeBoostPlugin error: 
errorCode >
         ^ self nbCall: #( int run_command (String str, Array args) ) module: 
'librunner.dylib'

The intention is of course to be able to pass arguments to execve() (for 
example).
I guess I could simply parse a string on the C-side but I'd rather not.

Any suggestions?

Cheers,
Max

Reply via email to