> On Sun, Mar 29, 2009 at 11:11 AM, Leslie P. Polzer > That should be something like: > > (with-foreign-object (args :string 2) > (setf (mem-aref args :string 0) "/bin/chmod") > (setf (mem-aref args :pointer 1) (null-pointer)) > (execv "/bin/chmod" args))
I didn't know that the caller is supposed to setup argv[0] as well. Thanks! _______________________________________________ cffi-devel mailing list cffi-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel