pass fd for linux support
1.0.2