Remove unnecessary stdio and detached from fork options.