Perl Cd Bookshelf [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Perl Cd Bookshelf [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید



8.134. IPC::Open2


Opens a child process that allows
two-way communication between your program and the child. Returns the
process ID of the child process or reports a fatal error on failure.
Exports one function.

open2


open2 (\*rdr, \*wtr, cmd_with_args)

Forks a child process to execute the specified command. Takes the
following arguments:

\*rdr
Represents a read filehandle that your program can use to read from
the command $cmd's standard
output. Can be a filehandle object or a reference to a typeglob.

\*wtr
Represents a write filehandle that your program can use to write to
the command $cmd's standard
input. Can be a filehandle object or a reference to a typeglob.

cmd_with_args
The command to be executed by the child process and its arguments.
Can be specified two ways:

$cmd_with_args
$cmd, "arg1", "arg2", ...



8.133. IPC::Msg8.135. IPC::Open3




Copyright © 2002 O'Reilly & Associates. All rights reserved.

/ 875