Re: piping with wine question
ToddAndMargo <[email protected]> Sun, 16 Oct 2016 18:12:13 -0700
| Newsgroups | gmane.comp.emulators.wine.user |
|---|---|
| Message-ID | <[email protected]> |
On 10/16/2016 05:55 PM, ToddAndMargo wrote: > On 10/16/2016 09:17 AM, Liam Proven wrote: >> On 16 October 2016 at 14:54, ToddAndMargo <[email protected]> wrote: >>> What are the rules for piping stuff to Windows >>> programs with Wine? >> >> I don't think you can pipe things to Windows programs at all, on any OS. >> > > Sure you can. Do it all the time. > > > | Pipe the output from one command into another command. > > & Run two commands with a single command line, e.g. > copy x.txt y.txt & copy a.dat b.dat > > || Run the command to the right only if ErrorLevel > 0 > copy x.txt z.txt || echo Error! > > && Run the command to the right only if ErrorLevel = 0 > copy x.txt z.txt && echo Success! > That was for Windows. Linux BASH is the same for "|" but varies on the others. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Computers are like air conditioners. They malfunction when you open windows ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~