Code Monkey home page Code Monkey logo

wine-runio's Introduction

This program can be used as a workaround for some problems in WineHQ when runing a Linux command-line program with input/output redirection.

Due to a flaw in WineHQ (see bug#18335), a Windows process cannot detect whether a child Linux process is terminated.

Due to a bug in WineHQ (see https://stackoverflow.com/a/45545068/1300170), it incorrectly closes the inherited handle when its original is closed.

Usage examples:

  runio -n /bin/bash -c "echo test; sleep 1" && echo child is finished

  echo echo wating a second; sleep 1; echo finished | runio /bin/bash

wine-runio's People

Contributors

ruv avatar

Watchers

 avatar  avatar  avatar

wine-runio's Issues

How to use?

I just came across your comment about this (for some reason I never got the notification). But I can't even figure out how to install this tool. Apparently it's written in a language called ForthML? But I can't find any information about that language or how to actually compile runio. Any suggestions?

Still not showing output, nor waiting?

Hi Ruvim - thanks very much for your follow-up on StackOverflow :)

Unfortunately, this doesn't seem to be working or me. With the example commands, the bash shell still terminates immediately without showing the output. Here's a screenshot (that it never prints "test," nor "waiting a second"):

2020-10-07 14 22 57

Note that I'm actually using Crossover (v20 beta) rather than WINE directly - though as it's really just a "pretty" UI to WINE, I would've expected it to behave similarly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.