use `env` and `nice` commands + io redirection instead of forking and setting env, priority and reopening io using ruby methods, closes #8