My gentool is progressing and I am testing it with parameters from the dialogue. I have just discovered that while pexec with a string of "/bin/ls" works, "/bin/ls -a" does not. The space seems to stop it doing anything. Is there a way to make pexec read the string as a single command ? Peter