add detached process support

* skip detach process support on windows for now
Merge pull request #404 from luvit/features/detached_processes

Feature: Add detached process support