emulate osx open on linux