exec'ing pfsh shell commands

Does anyone know how to use the execlp function call to execute a process using the pfsh shell. I am working in Trusted Solaris 8 02/04.

Basically I want to be able to use the execlp function to execute a command like this:

/usr/bin/pfsh -c "<command> <arg 1> <arg 2> ... <arg n>"

I believe the problem I am experiencing is due to the breaking up of this command into tokens. Any help will be greatly appreciated.

Thanks,

Victor

[489 byte] By [victorS] at [2007-11-14]