I don't think setting `cwd` is enough (unless you have cwd in your PATH, which is bad). For example:

```
ddeleo@lorentz /tmp > test-it
zsh: command not found: test-it
ddeleo@lorentz /tmp > cat test-it
#!/usr/bin/env ruby
puts "hello"
ddeleo@lorentz /tmp > ls -halp test-it
-rwxr-xr-x  1 ddeleo  wheel    33B Oct 21 10:52 test-it
```

I think we need to replace 'chef-client' in the command with the full path to the executable.