由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - help!!! pipe program
相关主题
各位大哥帮忙,EXECVE()的使用help on sed
fork() and execve() in Unix关于emacs一问。
CGI之Perl Script一问[转载] 请教
command line socket tools有没有四舍无入的函数?
unix下编译fortran 的错误太多,看不到怎么办?帮帮忙,用C作一个SHELL
Help!!What is the problem with these two pipes. Thanks.问一个关于at的问题
How to merge stdout and stderrhow to redirect error output under unix
Key in Shared Memory[转载] Re: freopen
相关话题的讨论汇总
话题: pipe话题: process话题: ls话题: more话题: program
进入Unix版参与讨论
1 (共1页)
q**c
发帖数: 3
1
a program about pipe, suppose a command:
ls -l | more
then use fork to create process for more, dup pipe[0] as
stdin, execv more
then use fork to create process for ls -l, dup pipe[1] as
stdout execv ls -l
wait at parent process
but even the process ls stopped, the process more is
still running, so when I type new command, it don't echo at
screen. Please help me to kill process more
thanks a lot!!!
1 (共1页)
进入Unix版参与讨论
相关主题
[转载] Re: freopenunix下编译fortran 的错误太多,看不到怎么办?
what's wrong with this ftp batch file?Help!!What is the problem with these two pipes. Thanks.
PERL入门求助How to merge stdout and stderr
paste command 里面的 -Key in Shared Memory
各位大哥帮忙,EXECVE()的使用help on sed
fork() and execve() in Unix关于emacs一问。
CGI之Perl Script一问[转载] 请教
command line socket tools有没有四舍无入的函数?
相关话题的讨论汇总
话题: pipe话题: process话题: ls话题: more话题: program