当前位置:网站首页 > 技术博客 > 正文

linux popen执行命令

在线咨询在线咨询

育龙论坛育龙论坛

在线报名在线报名

在线留言在线留言

投诉建议投诉建议

在线投稿在线投稿

收藏本页收藏本页

use

popen

programming

育龙网 WWW.CHINA-B.C0M 2009年06月12日 来源:互联网

育龙网核心提示: use

popen

====================================================================from: NAME

popen

- initiate pipe streams t

use

popen

====================================================================

from:

NAME

popen

- initiate pipe streams to or from a process

SYNOPSIS

#include

FILE

popen

;

DESCRIPTION

The

popen

function executes the

command

specified by the string

command

.It creates a pipe between the calling program and the executed

command

, andreturns a pointer to a stream that can be used to either read from or write tothe pipe.

If the implementation supports the referenced XCU specification, the environment of theexecuted

command

will be as if a child process were created within the

popen

call usingfork,and the child invoked theshutility using the call:

版权声明


相关文章:

  • <img>标签表示的是什么?2025-10-02 08:01:01
  • ts品牌女装官网2025-10-02 08:01:01
  • js判断一个变量是否为空2025-10-02 08:01:01
  • cv2 bgr转rgb2025-10-02 08:01:01
  • 广告过滤功能怎么打开2025-10-02 08:01:01
  • 适合大驼峰命名有哪些2025-10-02 08:01:01
  • javascript在html中应用的三种方法2025-10-02 08:01:01
  • ftp上传文件夹命令2025-10-02 08:01:01
  • IT运维2025-10-02 08:01:01
  • 怎么用ipad做电脑扩展屏幕2025-10-02 08:01:01