ffi work was ok for bash now win cmd too