priaonehaha / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Run mintty with command interactive #419

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Invoke mintty with an interactive command
2. It runs and quits

What is the expected output? What do you see instead?
For example, I am trying to view some logs with less in a new terminal window.

mintty -h always -e logfile.log | less

Without the -h always, it runs and exits. With it, I'm given just the buffer 
output of less, I'm not actually able to use hjkl navigation or search or 
interact with less whatsoever.

What versions of mintty, Cygwin/MSYS, and Windows are you using?
mintty 1.2-beta1 (x86_64-pc-cygwin)
cygwin            1.7.27-2
cygwindll version 1.7.27

Original issue reported on code.google.com by ZoobyW...@gmail.com on 25 Jan 2014 at 10:28

GoogleCodeExporter commented 8 years ago
The syntax in your example is weird and would not work.
What you can do is this:
mintty -e sh -c "less logfile"
and that does work - including interactive reponse -,
and whether you include -h always or not.

Suggest to close the issue (as invalid).

Original comment by towom...@googlemail.com on 21 May 2014 at 12:13