Friendly replacement for subprocess