sam wrote: The exact command I execute was: command_add(cmds,"/etc/rc.d/ppp-user restart"); commands_execute(a, cmds); Can you send a patch of what your trying to accomplish and I'll take a look? Scott