Thank you so much Jerry.
I should have read though the man page more carefully.
The available online cscope tutorials never mentioned the line-oriented
mode.
On Sat, Jan 4, 2014 at 1:35 AM, Jerry Hill malaclyp...@gmail.com wrote:
On Fri, Jan 3, 2014 at 9:44 PM, Beinan Li li.bei...@gmail.com
... and thanks to Chris too.
Now I got the better idea how the subprocess module works.
On Sat, Jan 4, 2014 at 11:29 AM, Beinan Li li.bei...@gmail.com wrote:
Thank you so much Jerry.
I should have read though the man page more carefully.
The available online cscope tutorials never mentioned
I know how to make a GUI program work on top of a console program like
ls, which exits immediately.
But some console programs have their own shell or ncurse-like CUI, such as
cscope.
So I figured that I need to first subprocess.popen a bidirectional pipe and
send command through stdin and get
On Sat, Jan 4, 2014 at 1:44 PM, Beinan Li li.bei...@gmail.com wrote:
But some console programs have their own shell or ncurse-like CUI, such as
cscope.
So I figured that I need to first subprocess.popen a bidirectional pipe and
send command through stdin and get results from stdout and stderr.
On Fri, Jan 3, 2014 at 9:44 PM, Beinan Li li.bei...@gmail.com wrote:
But some console programs have their own shell or ncurse-like CUI, such as
cscope.
So I figured that I need to first subprocess.popen a bidirectional pipe and
send command through stdin and get results from stdout and stderr.