in reply to Using Exec command with parameters

are you sure that exec is what you want and not system? Note that exec will never return ....