Add stdin argument for internal Process class