You can just use Linux syscalls from an .exe executed by Wine. There is no sandboxing.
https://gist.github.com/q3k/e5952111283ea59ee78a7699919a055b