PageRenderTime 432ms queryTime 32ms sortTime 0ms getByIdsTime 331ms findMatchingLines 23ms

100+ results results for 'IO::Pipe' (432 ms)

Not the results you expected?
docker.rs https://bitbucket.org/hdhoang/habitat.git | Rust | 241 lines
                    
146        cmd.env(DOCKER_HOST_ENVVAR, sock); // Use the job-specific `dockerd`
                    
147        cmd.stdout(Stdio::piped());
                    
148        cmd.stderr(Stdio::piped());
                    
                
backtrace.rs https://gitlab.com/alx741/rust | Rust | 130 lines
                    
42    m.env("IS_TEST", "1")
                    
43     .stdout(Stdio::piped())
                    
44     .stderr(Stdio::piped());
                    
                
command.rb https://github.com/oiegorov/expo_improved.git | Ruby | 130 lines
                    
50      def run
                    
51	@mystdin, @stdin = IO::pipe
                    
52        @stdout, @mystdout = IO::pipe
                    
52        @stdout, @mystdout = IO::pipe
                    
53        @stderr, @mystderr = IO::pipe
                    
54
                    
                
14-dock-heyu.t git://github.com/beanz/xpl-perl.git | Perl | 332 lines
                    
309  no warnings;
                    
310  *IO::Pipe::reader = sub { $@ = '$@'; return 0 };
                    
311  use warnings;
                    
                
process.h https://github.com/TimSimpsonR/sneaky-pete.git | C Header | 414 lines
                    
261    private:
                    
262        nova::utils::io::Pipe std_in_pipe;
                    
263};
                    
353        bool draining;
                    
354        nova::utils::io::Pipe std_err_pipe;
                    
355        nova::utils::io::Pipe std_out_pipe;
                    
402        bool draining;
                    
403        nova::utils::io::Pipe std_out_pipe;
                    
404};
                    
                
chains-visual.rs https://gitlab.com/rust-lang/rust | Rust | 158 lines
                    
129fn issue1236(options: Vec<String>) -> Result<Option<String>> {
                    
130    let process = Command::new("dmenu").stdin(Stdio::piped())
                    
131                                       .stdout(Stdio::piped())
                    
                
Action.pm https://github.com/thaljef/Pinto.git | Perl | 176 lines
                    
8use JSON;
                    
9use IO::Pipe;
                    
10use IO::Select;
                    
57    my $response;
                    
58    my $pipe = IO::Pipe->new;
                    
59
                    
                
Pipe.pm https://gitlab.com/kinwei/IFE-task7 | Perl | 257 lines
                    
6
                    
7package IO::Pipe;
                    
8
                    
37    @_ == 1 or croak 'usage: $pipe->handles()';
                    
38    (IO::Pipe::End->new(), IO::Pipe::End->new());
                    
39}
                    
162
                    
163IO::Pipe - supply object methods for pipes
                    
164
                    
168
                    
169	$pipe = IO::Pipe->new();
                    
170
                    
186
                    
187	$pipe = IO::Pipe->new();
                    
188
                    
                
main.rs https://gitlab.com/guodman/mux-launcher | Rust | 294 lines
                    
188        .arg(format!("sudo lxc-ls -1 {}", state.flag()))
                    
189        .stdout(Stdio::piped())
                    
190        .spawn()
                    
212            .arg(format!("sudo lxc-info -n {}", self.name))
                    
213            .stdout(Stdio::piped())
                    
214            .spawn()
                    
                
setup_initial.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 315 lines
                    
1#
                    
2# BioPerl module for Bio::Pipeline::InputCreate::setup_initial
                    
3#
                    
15
                    
16Bio::Pipeline::InputCreate::setup_initial
                    
17
                    
19
                    
20  use Bio::Pipeline::InputCreate::setup_inital;
                    
21
                    
21
                    
22 my $inc = Bio::Pipeline::InputCreate::setup_initial->new('-protein_ioh'=>1,
                    
23                                                          '-dna_ioh'=>2);
                    
138
                    
139package Bio::Pipeline::InputCreate::setup_initial;
                    
140
                    
                
scriptmate.rb https://bitbucket.org/rafaelmoreira/textmate-config.git | Ruby | 320 lines
                    
17def my_popen3(*cmd) # returns [stdin, stdout, strerr, pid]
                    
18  pw = IO::pipe   # pipe[0] for read, pipe[1] for write
                    
19  pr = IO::pipe
                    
19  pr = IO::pipe
                    
20  pe = IO::pipe
                    
21  
                    
                
open3.rb https://bitbucket.org/nicksieger/jruby.git | Ruby | 102 lines
                    
47    IO::popen3(*cmd, &p)
                    
48#    pw = IO::pipe   # pipe[0] for read, pipe[1] for write
                    
49#    pr = IO::pipe
                    
49#    pr = IO::pipe
                    
50#    pe = IO::pipe
                    
51#
                    
                
pipe.rs https://gitlab.com/pranith/rust | Rust | 141 lines
                    
124        use os;
                    
125        use old_io::pipe::PipeStream;
                    
126
                    
                
Pipe.pm https://gitlab.com/f3822/qtwebengine-chromium | Perl | 257 lines
                    
6
                    
7package IO::Pipe;
                    
8
                    
37    @_ == 1 or croak 'usage: $pipe->handles()';
                    
38    (IO::Pipe::End->new(), IO::Pipe::End->new());
                    
39}
                    
162
                    
163IO::Pipe - supply object methods for pipes
                    
164
                    
168
                    
169	$pipe = new IO::Pipe;
                    
170
                    
186
                    
187	$pipe = new IO::Pipe;
                    
188
                    
                
DescriptorTest.cpp https://code.google.com/p/linux-lighting/ | C++ | 302 lines
                    
33using ola::io::LoopbackDescriptor;
                    
34using ola::io::PipeDescriptor;
                    
35using ola::io::UnixSocket;
                    
                
procsrv.rs https://gitlab.com/pranith/rust | Rust | 97 lines
                    
43    cmd.args(args)
                    
44       .stdin(Stdio::piped())
                    
45       .stdout(Stdio::piped())
                    
45       .stdout(Stdio::piped())
                    
46       .stderr(Stdio::piped());
                    
47    add_target_env(&mut cmd, lib_path, aux_path);
                    
78    cmd.args(args)
                    
79       .stdin(Stdio::piped())
                    
80       .stdout(Stdio::piped())
                    
80       .stdout(Stdio::piped())
                    
81       .stderr(Stdio::piped());
                    
82    add_target_env(&mut cmd, lib_path, aux_path);
                    
                
process.rb https://github.com/streuth/redcar.git | Ruby | 179 lines
                    
95        io = []
                    
96        3.times { io << ::IO::pipe }
                    
97
                    
                
Method.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 183 lines
                    
1# BioPerl module for Bio::Pipeline::Method
                    
2#
                    
9
                    
10Bio::Pipeline::Method
                    
11
                    
13
                    
14  use Bio::Pipeline::Method;
                    
15  my $data_handler = Bio::Pipeline::Method->new(-dbid=>1,
                    
70
                    
71package Bio::Pipeline::Method;
                    
72use vars qw(@ISA);
                    
82  Title   : new
                    
83  Usage   : my $data_handler = Bio::Pipeline::Method->new(-dbid=>1,
                    
84                                                   -method=>"fetch_by_dbID",
                    
87  Function: this constructor should only be used in the IO_adaptor or IO objects.
                    
88            generates a new Bio::Pipeline::Method
                    
89  Returns : a new Method object
                    
                
server.rs https://bitbucket.org/BarisYuncu/fcds-lab-2018.git | Rust | 272 lines
                    
137        let mut child = itry!(Command::new(location)
                    
138                              .stdin(Stdio::piped())
                    
139                              .stdout(Stdio::piped())
                    
139                              .stdout(Stdio::piped())
                    
140                              .stderr(Stdio::piped())
                    
141                              .spawn(),
                    
                
dump_opcodes.rs https://github.com/soitun/hiphop-php.git | Rust | 70 lines
                    
56    child.args(["--emit", "stdout"]);
                    
57    child.stdin(Stdio::piped());
                    
58
                    
                
main.rs https://gitlab.com/frewsxcv/cargo | Rust | 323 lines
                    
106        cmd.arg("--raw");
                    
107        cmd.stdout(Stdio::piped());
                    
108        #[cfg(unix)]
                    
157    fn run_cmd(&self, mut cmd: Command) -> Result<String, Error> {
                    
158        cmd.stdout(Stdio::piped());
                    
159        let mut child = cmd
                    
                
command.rs https://gitlab.com/github-cloud-corporation/habitat | Rust | 210 lines
                    
166    command.stdin(Stdio::null());
                    
167    command.stdout(Stdio::piped());
                    
168    command.stderr(Stdio::piped());
                    
                
Pipe.pm https://netmf.svn.codeplex.com/svn | Perl | 240 lines
                    
6
                    
7package IO::Pipe;
                    
8
                    
37    @_ == 1 or croak 'usage: $pipe->handles()';
                    
38    (IO::Pipe::End->new(), IO::Pipe::End->new());
                    
39}
                    
145
                    
146IO::pipe - supply object methods for pipes
                    
147
                    
151
                    
152	$pipe = new IO::Pipe;
                    
153
                    
169
                    
170	$pipe = new IO::Pipe;
                    
171
                    
                
server.rs https://gitlab.com/Artefaritaj/Sparkbench | Rust | 251 lines
                    
82            let mut handle = server_cmd .stdin(Stdio::null())
                    
83                                        .stdout(Stdio::piped())
                    
84                                        .stderr(Stdio::piped())
                    
                
setup_cdna2genome.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 245 lines
                    
1#
                    
2# BioPerl module for Bio::Pipeline::InputCreate::setup_cdna2genome
                    
3#
                    
14
                    
15Bio::Pipeline::Input::setup_cdna2genome
                    
16
                    
18
                    
19  my $inc = Bio::Pipeline::Input::setup_cdna2genome->new(-contig_ioh=>$cioh,
                    
20                                                   -protein_ioh=>$pioh,
                    
70
                    
71package Bio::Pipeline::InputCreate::setup_cdna2genome;
                    
72
                    
75use strict;
                    
76use Bio::Pipeline::InputCreate;
                    
77use Bio::Pipeline::DataType;
                    
                
bot.rs https://gitlab.com/Schmiddiii/ntd | Rust | 120 lines
                    
48            .command()
                    
49            .stdin(Stdio::piped())
                    
50            .stdout(Stdio::piped())
                    
                
syslog.rb https://github.com/benlovell/ramaze.git | Ruby | 76 lines
                    
42  def test_log_msg( type, priority, msg )
                    
43    logpipe = IO::pipe
                    
44    child = fork {
                    
                
pipe.rs https://gitlab.com/skv-headless/test-submodules.git | Rust | 140 lines
                    
50    ///
                    
51    /// use std::io::pipe::PipeStream;
                    
52    ///
                    
123        use os;
                    
124        use io::pipe::PipeStream;
                    
125
                    
                
test.rb https://github.com/akiernan/omnibus.git | Ruby | 164 lines
                    
114  def test_log
                    
115    stderr = IO::pipe
                    
116
                    
                
Base.pm https://gitlab.com/envieidoc/tomato | Perl | 222 lines
                    
30use Carp;
                    
31use IO::Pipe;
                    
32
                    
172  local $SIG{PIPE}= sub { print STDERR "Got signal $@\n"; };
                    
173  my $pipe= IO::Pipe->new();
                    
174  my $pid= _safe_fork();
                    
                
Argument.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 235 lines
                    
1#
                    
2# BioPerl module for Bio::Pipeline::Argument
                    
3#
                    
10
                    
11Bio::Pipeline::Argument
                    
12
                    
14
                    
15    use Bio::Pipeline::Argument;
                    
16    my $arg = new Bio::Pipeline::Argument(-dbID => $argument_id,
                    
69
                    
70package Bio::Pipeline::Argument;
                    
71use vars qw(@ISA);
                    
79  Title   : new
                    
80  Usage   : my $io = Bio::Pipeline::Argument->new($dbid,$tag,$value,$rank,$dhid,$type)
                    
81  Function: this constructor should only be used in the Input object IO_adaptor or IO objects
                    
                
unicorn.rb https://github.com/evenwestvang/skoolgate.git | Ruby | 118 lines
                    
102  def self.pipe # :nodoc:
                    
103    Kgio::Pipe.new.each { |io| io.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) }
                    
104  end
                    
                
chains-visual.rs https://gitlab.com/rust-lang/rust | Rust | 158 lines
                    
130fn issue1236(options: Vec<String>) -> Result<Option<String>> {
                    
131let process = Command::new("dmenu").stdin(Stdio::piped())
                    
132    .stdout(Stdio::piped())
                    
                
command.rb https://github.com/oiegorov/expo_improved.git | Ruby | 130 lines
                    
50      def run
                    
51        @mystdin, @stdin = IO::pipe
                    
52        @stdout, @mystdout = IO::pipe
                    
52        @stdout, @mystdout = IO::pipe
                    
53        @stderr, @mystderr = IO::pipe
                    
54
                    
                
tests.rs https://gitlab.com/rust-lang/rust | Rust | 458 lines
                    
62
                    
63    let mut p = shell_cmd().arg("-c").arg("read a").stdin(Stdio::piped()).spawn().unwrap();
                    
64    p.kill().unwrap();
                    
86        let mut cmd = Command::new("cmd");
                    
87        cmd.args(&["/C", "echo foobar"]).stdout(Stdio::piped());
                    
88        assert_eq!(run_output(cmd), "foobar\r\n");
                    
90        let mut cmd = shell_cmd();
                    
91        cmd.arg("-c").arg("echo foobar").stdout(Stdio::piped());
                    
92        assert_eq!(run_output(cmd), "foobar\n");
                    
99    let mut cmd = shell_cmd();
                    
100    cmd.arg("-c").arg("pwd").current_dir("/").stdout(Stdio::piped());
                    
101    assert_eq!(run_output(cmd), "/\n");
                    
109        .arg("read line; echo $line")
                    
110        .stdin(Stdio::piped())
                    
111        .stdout(Stdio::piped())
                    
                
MockEndpoint.h https://code.google.com/p/linux-lighting/ | C Header | 146 lines
                    
19 *
                    
20 * ola::io::PipeSocket pipe;
                    
21 * pipe.Init();
                    
21 * pipe.Init();
                    
22 * ola::io::PipeSocket *other_end = pip.OppositeEnd();
                    
23 * MockEndpoint endpoint(other_end)
                    
                
read_write.c https://github.com/wsylvest/kgio.git | C | 396 lines
                    
128/*
                    
129 * Same as Kgio::PipeMethods#kgio_read, except EOFError is raised
                    
130 * on EOF without a backtrace.  This method is intended as a
                    
179 * MSG_DONTWAIT to avoid explicitly setting the O_NONBLOCK flag via fcntl.
                    
180 * Otherwise this is the same as Kgio::PipeMethods#kgio_read
                    
181 */
                    
201 * MSG_DONTWAIT to avoid explicitly setting the O_NONBLOCK flag via fcntl.
                    
202 * Otherwise this is the same as Kgio::PipeMethods#kgio_tryread
                    
203 */
                    
309/*
                    
310 * This method behaves like Kgio::PipeMethods#kgio_write, except
                    
311 * it will use send(2) with the MSG_DONTWAIT flag on sockets to
                    
329 * MSG_DONTWAIT to avoid explicitly setting the O_NONBLOCK flag via fcntl.
                    
330 * Otherwise this is the same as Kgio::PipeMethods#kgio_write
                    
331 */
                    
                
mod.rs https://gitlab.com/zachdaniel/rush | Rust | 335 lines
                    
50            Spawn::Com(ref mut command) => {
                    
51                command.stdin(Stdio::piped());
                    
52            }
                    
78                    next.piped_input();
                    
79                    command.stdout(Stdio::piped());
                    
80                } else if let Some(_) = self.file_out {
                    
80                } else if let Some(_) = self.file_out {
                    
81                    command.stdout(Stdio::piped());
                    
82                }
                    
84                if self.file_in.is_some() {
                    
85                    command.stdin(Stdio::piped());
                    
86                }
                    
                
test_syslog.rb https://github.com/ehedberg/travis.git | Ruby | 194 lines
                    
24
                    
25      stderr = IO::pipe
                    
26
                    
82
                    
83      stderr = IO::pipe
                    
84
                    
                
FwDebPackage.pm git://github.com/cliffmoon/effigy.git | Perl | 458 lines
                    
26
                    
27use IO::Pipe;
                    
28use POSIX ":sys_wait_h";
                    
39
                    
40    my $par_to_child = new IO::Pipe;
                    
41    my $child_to_par = new IO::Pipe;
                    
                
Pause.pm https://github.com/tsee/pause.git | Perl | 198 lines
                    
76
                    
77IO::Pipe 1.04
                    
78
                    
                
right_popen.rb https://github.com/gchpaco/right_popen.git | Ruby | 129 lines
                    
73    EM.next_tick do
                    
74      inr, inw = IO::pipe
                    
75      outr, outw = IO::pipe
                    
75      outr, outw = IO::pipe
                    
76      errr, errw = IO::pipe
                    
77
                    
                
serialization_app_xml.cxx https://repo.or.cz/LibreOffice.git | C++ | 126 lines
                    
53CSerializationAppXML::CSerializationAppXML()
                    
54    : m_xBuffer(css::io::Pipe::create(comphelper::getProcessComponentContext()))
                    
55{
                    
                
lib.rs https://bitbucket.org/sailfish009/rust.git | Rust | 336 lines
                    
138                    log::info!("restart flycheck {:?}", command);
                    
139                    command.stdout(Stdio::piped()).stderr(Stdio::null()).stdin(Stdio::null());
                    
140                    if let Ok(child) = command.spawn().map(JodChild) {
                    
                
hgvs-web-service https://bitbucket.org/reece/bio-hgvs-perl | Perl | 382 lines
                    
29use HTTP::Status;
                    
30use IO::Pipe;
                    
31use Log::Log4perl;
                    
                
upgradedb.pl https://github.com/dougc333/sfs_eventdrivenc--templatelibrary.git | Perl | 257 lines
                    
11use IO::File;
                    
12use IO::Pipe;
                    
13use POSIX qw(strftime);
                    
59	
                    
60    my $pipe =  new IO::Pipe ();
                    
61    $pipe->reader ("$prog $SFS_USERS");
                    
                
subprocess.cpp https://gitlab.com/huayuting/mesos | C++ | 348 lines
                    
117    }
                    
118    case Subprocess::IO::PIPE: {
                    
119      if (pipe(stdinFd) == -1) {
                    
148    }
                    
149    case Subprocess::IO::PIPE: {
                    
150      if (pipe(stdoutFd) == -1) {
                    
187    }
                    
188    case Subprocess::IO::PIPE: {
                    
189      if (pipe(stderrFd) == -1) {
                    
258    // Close parent's end of the pipes.
                    
259    if (in.mode == Subprocess::IO::PIPE) {
                    
260      while (::close(stdinFd[1]) == -1 && errno == EINTR);
                    
261    }
                    
262    if (out.mode == Subprocess::IO::PIPE) {
                    
263      while (::close(stdoutFd[0]) == -1 && errno == EINTR);
                    
                
Est2Genome.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 230 lines
                    
1# Pipeline module for Est2Genome Bio::Pipeline::Runnable::Est2Genome
                    
2#
                    
17#
                    
18# Bio::Pipeline::Runnable::Est2Genome
                    
19#
                    
21
                    
22  my $runnable = Bio::Pipeline::Runnable::RunnableSkeleton->new();
                    
23  $runnable->analysis($analysis);
                    
63
                    
64package Bio::Pipeline::Runnable::Est2Genome;
                    
65use vars qw(@ISA);
                    
68use Bio::Root::IO;
                    
69use Bio::Pipeline::DataType;
                    
70use Bio::Pipeline::RunnableI;
                    
73
                    
74@ISA = qw(Bio::Pipeline::RunnableI);
                    
75
                    
                
DataMongerAdaptor.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 163 lines
                    
15
                    
16Bio::Pipeline::SQL::DataMonger
                    
17
                    
78
                    
79package Bio::Pipeline::SQL::DataMongerAdaptor;
                    
80
                    
80
                    
81use Bio::Pipeline::Node;
                    
82use Bio::Pipeline::Runnable::DataMonger;
                    
83use Bio::Root::Root;
                    
84use Bio::Pipeline::InputCreate;
                    
85use Bio::Pipeline::SQL::AnalysisAdaptor;
                    
89
                    
90@ISA = qw( Bio::Pipeline::SQL::BaseAdaptor);
                    
91
                    
                
twisted.rs https://gitlab.com/unlambda/amp-rs | Rust | 262 lines
                    
22            .arg(test_name)
                    
23            .stdin(Stdio::piped())
                    
24            .stdout(Stdio::piped())
                    
                
Iterator.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 168 lines
                    
1#
                    
2# BioPerl module for Bio::Pipeline::Utils::Iterator
                    
3#
                    
15
                    
16Bio::Pipeline::Utils::Iterator 
                    
17
                    
19
                    
20  use Bio::Pipeline::Utils::Iterator;
                    
21  use Bio::AlignIO;
                    
22
                    
23  my $itr = Bio::Pipeline::Utils::Iterator->new();
                    
24  my $aio = Bio::AlignIO->new(-file=>$ARGV[0],-format=>"phylip");
                    
86
                    
87package Bio::Pipeline::Utils::Iterator;
                    
88use vars qw(@ISA);
                    
                
pipeio.cc https://github.com/h4ck3rm1k3/gw6c-debian.git | C++ | 202 lines
                    
33// --------------------------------------------------------------------------
                    
34PipeIO::PipeIO( void ) : 
                    
35  IPCServent()
                    
                
irc.pm https://github.com/mpeters/helm.git | Perl | 272 lines
                    
7use AnyEvent;
                    
8use IO::Pipe;
                    
9
                    
71    # setup a pipe for communicating
                    
72    my $irc_pipe = IO::Pipe->new();
                    
73
                    
211    # that we can use to communicate with the child processes later
                    
212    my %pipes = map { $_->name => IO::Pipe->new } (@{$helm->servers});
                    
213    $self->_pipes(\%pipes);
                    
                
Tmhmm.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 199 lines
                    
1# Pipeline module for Tmhmm Bio::Pipeline::Runnable::Tmhmm
                    
2#
                    
15
                    
16Bio::Pipeline::Runnable::Tmhmm
                    
17
                    
19
                    
20 my $runnable = Bio::Pipeline::Runnable::Tmhmm->new();
                    
21 $runnable->analysis($analysis);
                    
76
                    
77package Bio::Pipeline::Runnable::Tmhmm;
                    
78use vars qw(@ISA);
                    
86use Bio::Root::Root;
                    
87use Bio::Pipeline::DataType;
                    
88use Bio::Pipeline::RunnableI;
                    
90
                    
91@ISA = qw(Bio::Pipeline::RunnableI);
                    
92
                    
                
process.rs https://gitlab.com/pranith/rust | Rust | 1239 lines
                    
25use fmt;
                    
26use old_io::pipe::{PipeStream, PipePair};
                    
27use old_io::{IoResult, IoError, Reader, Writer};
                    
                
WebDBSeqI.pm https://gitlab.com/pooja043/Globus_Docker_3 | Perl | 878 lines
                    
94use File::Spec;
                    
95use IO::Pipe;
                    
96use IO::String;
                    
                
Converter.pm https://bitbucket.org/intogen/mutations-analysis.git | Perl | 213 lines
                    
52    Bio::Tools::Prediction::Exon -> Bio::EnsEMBL::Exon
                    
53    Bio::Pipeline::Analysis -> Bio::EnsEMBL::Analysis
                    
54
                    
                
utils.rs https://gitlab.com/vitalii.dr/starship | Rust | 718 lines
                    
79    let mut cmd = Command::new(full_path);
                    
80    cmd.stderr(Stdio::piped())
                    
81        .stdout(Stdio::piped())
                    
                
bot.pl https://bitbucket.org/StylusEater/clevelandpm.git | Perl | 646 lines
                    
9use IO::Select;
                    
10use IO::Pipe qw();
                    
11use IO::Handle;
                    
                
Payment.pm https://github.com/pajamian/interchange.git | Perl | 753 lines
                    
41use Vend::Order;
                    
42use IO::Pipe;
                    
43use strict;
                    
399
                    
400                my $pipe = IO::Pipe->new;
                    
401
                    
                
base.rb https://github.com/toy/sdoc_all.git | Ruby | 217 lines
                    
141          else
                    
142            rd, wr = IO::pipe
                    
143
                    
                
exec.pl git://github.com/shabble/irssi-scripts.git | Perl | 442 lines
                    
69use IO::Handle;
                    
70use IO::Pipe;
                    
71use IPC::Open3;
                    
                
process.rs https://gitlab.com/jianglu/rust | Rust | 1600 lines
                    
47//!
                    
48//! // stdout must be configured with `Stdio::piped` in order to use
                    
49//! // `echo_child.stdout`
                    
51//!     .arg("Oh no, a tpyo!")
                    
52//!     .stdout(Stdio::piped())
                    
53//!     .spawn()
                    
62//!     .stdin(Stdio::from(echo_out))
                    
63//!     .stdout(Stdio::piped())
                    
64//!     .spawn()
                    
78//! let mut child = Command::new("/bin/cat")
                    
79//!     .stdin(Stdio::piped())
                    
80//!     .stdout(Stdio::piped())
                    
                
Config.pm https://github.com/mysociety/commonlib.git | Perl | 315 lines
                    
13use IO::Handle;
                    
14use IO::Pipe;
                    
15use Error qw(:try);
                    
94    $outw = new IO::Handle();
                    
95    my $p1 = new IO::Pipe($outr, $outw);
                    
96    my $p2 = new IO::Pipe($inr, $inw);
                    
                
blastscore.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 278 lines
                    
1#
                    
2# BioPerl module for Bio::Pipeline::Utils::Dumper::blastscore
                    
3#
                    
15
                    
16Bio::Pipeline::Utils::Dumper::blastscore
                    
17
                    
19
                    
20  use Bio::Pipeline::Dumper;
                    
21  use Bio::SearchIO;
                    
22
                    
23  my $dumper = Bio::Pipeline::Dumper->new(-module=>'BlastScore',
                    
24                                        -format=>"score",
                    
119
                    
120package Bio::Pipeline::Utils::Dumper::blastscore;
                    
121use vars qw(@ISA @BS_PARAMS %OK_FIELD $AUTOLOAD);
                    
                
session.rb https://github.com/aquabu/snorkle.git | Ruby | 744 lines
                    
248#--{{{
                    
249      pw = IO::pipe   # pipe[0] for read, pipe[1] for write
                    
250      pr = IO::pipe
                    
250      pr = IO::pipe
                    
251      pe = IO::pipe
                    
252
                    
                
lib.rs https://github.com/chromium/chromium.git | Rust | 641 lines
                    
54//!     .args(&["build", "--message-format=json-render-diagnostics"])
                    
55//!     .stdout(Stdio::piped())
                    
56//!     .spawn()
                    
                
process.rs https://gitlab.com/anispy211/rust | Rust | 857 lines
                    
57    /// `ProcessConfig` was `CreatePipe`. By default, this handle is `Some`.
                    
58    pub stdin: Option<io::PipeStream>,
                    
59
                    
61    /// `ProcessConfig` was `CreatePipe`. By default, this handle is `Some`.
                    
62    pub stdout: Option<io::PipeStream>,
                    
63
                    
65    /// `ProcessConfig` was `CreatePipe`. By default, this handle is `Some`.
                    
66    pub stderr: Option<io::PipeStream>,
                    
67
                    
69    /// this process was created. This is by default empty.
                    
70    pub extra_io: ~[Option<io::PipeStream>],
                    
71}
                    
311                let mut io = io.move_iter().map(|p| {
                    
312                    p.map(|p| io::PipeStream::new(p))
                    
313                });
                    
                
session.rb https://github.com/wcherry/redcar.git | Ruby | 757 lines
                    
261#--{{{
                    
262      pw = IO::pipe   # pipe[0] for read, pipe[1] for write
                    
263      pr = IO::pipe
                    
263      pr = IO::pipe
                    
264      pe = IO::pipe
                    
265      
                    
                
Coil.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 204 lines
                    
1# Pipeline module for Coil  Bio::Pipeline::Runnable::Coil
                    
2#
                    
15
                    
16Bio::Pipeline::Runnable::Coil
                    
17
                    
19
                    
20 my $runnable = Bio::Pipeline::Runnable::Coil->new(@params);
                    
21 $runnable->analysis($analysis);
                    
76
                    
77package Bio::Pipeline::Runnable::Coil;
                    
78use vars qw(@ISA);
                    
86use Bio::Root::Root;
                    
87use Bio::Pipeline::DataType;
                    
88use Bio::Pipeline::RunnableI;
                    
90
                    
91@ISA = qw(Bio::Pipeline::RunnableI);
                    
92
                    
                
pminst git://pkgs.fedoraproject.org/perl-pmtools | Perl | 160 lines
                    
86    IO::Handle
                    
87    IO::Pipe
                    
88    IO::Seekable
                    
98    IO::Handle
                    
99    IO::Pipe
                    
100    IO::Seekable
                    
115    /usr/lib/perl5/i386-linux/5.00404 IO::Handle
                    
116    /usr/lib/perl5/i386-linux/5.00404 IO::Pipe
                    
117    /usr/lib/perl5/i386-linux/5.00404 IO::Seekable
                    
                
Async.pm https://github.com/awwaiid/rakudo.git | Perl | 424 lines
                    
229        $!stdin-fd := $handle.native-descriptor;
                    
230        @!close-after-exit.push($handle) if $handle ~~ IO::Pipe;
                    
231    }
                    
                
2017.04.md https://github.com/wayland/rakudo.git | Markdown | 261 lines
                    
57    + Made Code.ACCEPTS pass take its parameter `is raw` [c0eb9bd]
                    
58    + Fixed SEGV in IO::Pipe.t [3e275dd]
                    
59    + Made `dynamic` default to False instead of Nil on Scalar/Hash/Array [28a6e80]
                    
60    + [IO] Fixed wrong results in IO::Path.resolve for paths with combiners on `/` [9d8e391]
                    
61    + [IO] Fixed a crash when using Whatever limit in in IO::Pipe.lines [0c62815]
                    
62    + [IO] Fixed crash in smartmatch of Cool ~~ IO::Path for some Cools [c360ac2]
                    
115    + [IO] IO::Handle.lines($limit, :close) now closes the handle when $limit is reached [90da80f]
                    
116    + [IO] Added IO::Pipe.path and .IO methods to return an IO::Path type object [d46e8df]
                    
117    + [IO] Made IO::Path.mkdir return invocant on success [c01ebea]
                    
199    + [IO] Made IO::Spec::Unix.catdir 3.9x Faster [0111f10]
                    
200    + [IO] Made IO::Pipe.lines 3.2x faster [0c62815]
                    
201    + [IO] Made IO::Spec::Win32!canon-cat 2.3x faster [0e36bb2]
                    
                
InputCreate.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 428 lines
                    
1#
                    
2# BioPerl module for Bio::Pipeline::InputCreate
                    
3#
                    
15
                    
16Bio::Pipeline::InputCreate
                    
17
                    
19
                    
20  use Bio::Pipeline::InputCreate;
                    
21
                    
21
                    
22 my $inc = Bio::Pipeline::InputCreate->new('-module'=>'setup_genewise','-rank'=>1,'-dbadaptor'=>$self->db);
                    
23 $inc->run();
                    
72
                    
73package Bio::Pipeline::InputCreate;
                    
74use vars qw(@ISA);
                    
                
popen.rb https://github.com/elmer/babushka.git | Ruby | 38 lines
                    
3    def popen3 cmd, &block
                    
4      pipes = { :in => IO::pipe, :out => IO::pipe, :err => IO::pipe }
                    
5      near = { :in => pipes[:in][1], :out => pipes[:out][0], :err => pipes[:err][0] }
                    
                
NodeAdaptor.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 154 lines
                    
15
                    
16Bio::Pipeline::SQL::NodeAdaptor
                    
17
                    
78
                    
79package Bio::Pipeline::SQL::NodeAdaptor;
                    
80
                    
80
                    
81use Bio::Pipeline::Node;
                    
82use Bio::Root::Root;
                    
86
                    
87@ISA = qw( Bio::Pipeline::SQL::BaseAdaptor);
                    
88
                    
100    
                    
101    my $node = Bio::Pipeline::Node->new('-id'=>$node_id,'-name'=>$node_name,'-current_group'=>$id,'-group_id'=>$group_ids);
                    
102    push @nodes, $node;
                    
                
vim-update-bundles https://github.com/yundem/x.git | Ruby | 374 lines
                    
55  puts "-> #{[cmd].join(" ")}" if $verbose
                    
56  outr, outw = IO::pipe
                    
57  pid = fork {
                    
                
process.cc https://github.com/TimSimpsonR/sneaky-pete.git | C++ | 815 lines
                    
26using nova::Log;
                    
27using nova::utils::io::Pipe;
                    
28using namespace nova::utils;
                    
                
Fork.pm https://github.com/ap/Proc-Fork.git | Perl | 282 lines
                    
157
                    
158 use IO::Pipe;
                    
159 my $p = IO::Pipe->new;
                    
191 use Proc::Fork;
                    
192 use IO::Pipe;
                    
193
                    
200     # Create a pipe for parent-child communication
                    
201     my $pipe = IO::Pipe->new;
                    
202
                    
                
util.rb https://github.com/dizopsin/deb-hawk.git | Ruby | 137 lines
                    
40  def popen3(*cmd)
                    
41    pw = IO::pipe   # pipe[0] for read, pipe[1] for write
                    
42    pr = IO::pipe
                    
42    pr = IO::pipe
                    
43    pe = IO::pipe
                    
44
                    
102  def safe_x(*cmd)
                    
103    pr = IO::pipe   # pipe[0] for read, pipe[1] for write
                    
104    pe = IO::pipe
                    
                
death.rs https://gitlab.com/frewsxcv/cargo | Rust | 101 lines
                    
47    cargo
                    
48        .stdin(Stdio::piped())
                    
49        .stdout(Stdio::piped())
                    
49        .stdout(Stdio::piped())
                    
50        .stderr(Stdio::piped())
                    
51        .env("__CARGO_TEST_SETSID_PLEASE_DONT_USE_ELSEWHERE", "1");
                    
                
gpg.rs https://github.com/akheron/sala.git | Rust | 124 lines
                    
44        .arg(path.as_os_str())
                    
45        .stdout(Stdio::piped())
                    
46        .stderr(Stdio::piped())
                    
98        .arg(passphrase_read_fd.to_string())
                    
99        .stdin(Stdio::piped())
                    
100        .stdout(outfile)
                    
100        .stdout(outfile)
                    
101        .stderr(Stdio::piped())
                    
102        .spawn()
                    
                
Build.PL https://github.com/jhl233/cxgn-corelibs.git | Perl | 187 lines
                    
168        'IO::String' => 0,
                    
169        'IO::Pipe' => 0,
                    
170        'IPC::Cmd'   => 0,
                    
                
background_process.rb https://github.com/timcharper/background_process.git | Ruby | 116 lines
                    
25    command = sanitize_command(command_with_args)
                    
26    child_stdin, parent_stdin = IO::pipe
                    
27    parent_stdout, child_stdout = IO::pipe
                    
27    parent_stdout, child_stdout = IO::pipe
                    
28    parent_stderr, child_stderr = IO::pipe
                    
29
                    
                
setup_file.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 562 lines
                    
1#
                    
2# BioPerl module for Bio::Pipeline::InputCreate::setup_file
                    
3#
                    
14
                    
15Bio::Pipeline::Input::setup_file
                    
16
                    
18
                    
19  my $inc = Bio::Pipeline::InputCreate::setup_file->new(-runnable=>"Bio::Pipeline::Runnable::Blast",
                    
20                                                   -format=>"fasta",
                    
79
                    
80package Bio::Pipeline::InputCreate::setup_file;
                    
81
                    
84use strict;
                    
85use Bio::Pipeline::InputCreate;
                    
86use Bio::Pipeline::Runnable::Blast;
                    
                
background.pl https://github.com/jtarchie/sinatra-on-perl.git | Perl | 46 lines
                    
1use strict;
                    
2use IO::Pipe;
                    
3use JSON::Any;
                    
5#inter process communication
                    
6my $pipe = IO::Pipe->new;
                    
7
                    
                
subprocess.hpp https://gitlab.com/huayuting/mesos | C++ Header | 171 lines
                    
70  {
                    
71    return IO(IO::PIPE, None(), None());
                    
72  }
                    
                
test_examples.rb git://github.com/coatl/rubymacros.git | Ruby | 91 lines
                    
34    old={:O=>STDOUT.dup,:o=>$stdout,:E=>STDERR.dup,:e=>$stderr}
                    
35    o1,o2=IO::pipe
                    
36    e1,e2=IO::pipe
                    
                
tr_import_members_from_fasta.pl https://github.com/jestill/iplant-treerec.git | Perl | 958 lines
                    
52use IO::Scalar;                # For print_help subfunction
                    
53use IO::Pipe;                  # Pipe for STDIN, STDOUT for POD docs
                    
54use File::Spec;                # Convert a relative path to an abosolute path
                    
                
tr_export_species_tree.pl https://github.com/jestill/iplant-treerec.git | Perl | 747 lines
                    
46use IO::Scalar;                # For print_help subfunction
                    
47use IO::Pipe;                  # Pipe for STDIN, STDOUT for POD docs
                    
48use File::Spec;                # Convert a relative path to an abosolute path
                    
404
                    
405    my $pipe = IO::Pipe->new()
                    
406	or die "failed to create pipe: $!";
                    
                
Pause.pm https://github.com/dagolden/pause.git | Perl | 164 lines
                    
88IO::Handle 1.09
                    
89IO::Pipe 1.04
                    
90IO::Seekable 1.04
                    
                
open3.rb https://github.com/panesofglass/ironrubyinaction.git | Ruby | 101 lines
                    
46  def popen3(*cmd)
                    
47    pw = IO::pipe   # pipe[0] for read, pipe[1] for write
                    
48    pr = IO::pipe
                    
48    pr = IO::pipe
                    
49    pe = IO::pipe
                    
50
                    
                
TransformerAdaptor.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 281 lines
                    
1# perl module for Bio::Pipeline::SQL::TransformerAdaptor
                    
2#
                    
40
                    
41package Bio::Pipeline::SQL::TransformerAdaptor;
                    
42
                    
42
                    
43use Bio::Pipeline::Transformer;
                    
44use Bio::Pipeline::SQL::BaseAdaptor;
                    
44use Bio::Pipeline::SQL::BaseAdaptor;
                    
45use Bio::Pipeline::Method;
                    
46use Bio::Pipeline::Argument;
                    
50
                    
51@ISA = qw(Bio::Pipeline::SQL::BaseAdaptor);
                    
52
                    
61  Returns : None (dbIDs of transformers would be stored inside of transformers.)
                    
62  Args    : L<Bio::Pipeline::Transformer>
                    
63
                    
                
Build.PL https://github.com/solgenomics/cxgn-corelibs.git | Perl | 196 lines
                    
174        'IO::String'           => 0,
                    
175        'IO::Pipe'             => 0,
                    
176        'IPC::Cmd'             => 0,
                    
                
EnsemblRunnable.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 289 lines
                    
14#
                    
15# Bio::Pipeline::Runnable::EnsemblRunnable
                    
16#
                    
18
                    
19  use Bio::Pipeline::Runnable::EnsemblRunnable;
                    
20  use Bio::SeqIO;
                    
26
                    
27  my $runner = Bio::Pipeline::Runnable::EnsemblRunnable->new(-module=>"Blast",
                    
28                                                           -query=>$seq,
                    
82
                    
83package Bio::Pipeline::Runnable::EnsemblRunnable;
                    
84use vars qw(@ISA $AUTOLOAD);
                    
86use Bio::Root::Root;
                    
87use Bio::Pipeline::DataType;
                    
88use Bio::Pipeline::RunnableI;
                    
                
setup_genewise.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 289 lines
                    
1#
                    
2# BioPerl module for Bio::Pipeline::InputCreate::setup_genewise
                    
3#
                    
14
                    
15Bio::Pipeline::Input::setup_genewise
                    
16
                    
18
                    
19  my $inc = Bio::Pipeline::Input::setup_genewise->
                    
20      new(-slice_ioh=>$slice_ioh,
                    
76
                    
77package Bio::Pipeline::InputCreate::setup_genewise;
                    
78
                    
81use strict;
                    
82use Bio::Pipeline::InputCreate;
                    
83use Bio::Pipeline::DataType;
                    
                
concurrent.rs https://bitbucket.org/sailfish009/rust.git | Rust | 509 lines
                    
34
                    
35    a.stdout(Stdio::piped()).stderr(Stdio::piped());
                    
36    b.stdout(Stdio::piped()).stderr(Stdio::piped());
                    
60
                    
61    a.stdout(Stdio::piped()).stderr(Stdio::piped());
                    
62    b.stdout(Stdio::piped()).stderr(Stdio::piped());
                    
92
                    
93    a.stdout(Stdio::piped()).stderr(Stdio::piped());
                    
94    b.stdout(Stdio::piped()).stderr(Stdio::piped());
                    
150
                    
151    a.stdout(Stdio::piped()).stderr(Stdio::piped());
                    
152    b.stdout(Stdio::piped()).stderr(Stdio::piped());
                    
236
                    
237    a.stdout(Stdio::piped()).stderr(Stdio::piped());
                    
238    b.stdout(Stdio::piped()).stderr(Stdio::piped());
                    
                
Promoterwise.pm https://github.com/bioperl/bioperl-pipeline.git | Perl | 183 lines
                    
14
                    
15Bio::Pipeline::Runnable::Promoterwise
                    
16
                    
68
                    
69package Bio::Pipeline::Runnable::Promoterwise;
                    
70use vars qw(@ISA);
                    
72use Bio::Root::RootI;
                    
73use Bio::Pipeline::DataType;
                    
74use Bio::Tools::Run::Promoterwise;
                    
74use Bio::Tools::Run::Promoterwise;
                    
75use Bio::Pipeline::RunnableI;
                    
76
                    
76
                    
77@ISA = qw(Bio::Pipeline::RunnableI);
                    
78
                    
                
stoppablethread.rb https://github.com/dlitz/maglevdns.git | Ruby | 66 lines
                    
25      @stop_requested = false
                    
26      @stop_pipe_r, @stop_pipe_w = ::IO::pipe # pipe used for breaking out of select() calls
                    
27      thread_stopper = Thread.current[:thread_stopper]
                    
                
stdio-from.rs https://gitlab.com/rust-lang/rust | Rust | 69 lines
                    
32        .stdin(File::open(&input)?) // tests File::into()
                    
33        .stdout(Stdio::piped())
                    
34        .spawn()?;
                    
37        .arg("third")
                    
38        .stdin(Stdio::piped())
                    
39        .stdout(File::create(&output)?) // tests File::into()
                    
                
jobrunner.rb https://github.com/pjotrp/rq.git | Ruby | 110 lines
                    
40        @sh_like = File::basename(@shell) == 'bash' || File::basename(@shell) == 'sh' 
                    
41        @r,@w = IO::pipe
                    
42
                    
                
VMChannel.h https://bitbucket.org/pizzafactory/pf-gcc.git | C Header | 77 lines
                    
48  static ::gnu::java::nio::VMChannel * getVMChannel(::gnu::java::net::PlainSocketImpl *);
                    
49  static ::gnu::java::nio::VMChannel * getVMChannel(::gnu::java::nio::PipeImpl$SourceChannelImpl *);
                    
50  static ::gnu::java::nio::VMChannel * getVMChannel(::gnu::java::nio::PipeImpl$SinkChannelImpl *);
                    
                
popen.rb https://github.com/ravibhure/babushka.git | Ruby | 40 lines
                    
3    def self.popen3 cmd, opts = {}, &block
                    
4      pipes = { :in => IO::pipe, :out => IO::pipe, :err => IO::pipe }
                    
5      near = { :in => pipes[:in][1], :out => pipes[:out][0], :err => pipes[:err][0] }
                    
                
uniwrap.pm https://bitbucket.org/genomicepidemiology/apache-webserver.git | Perl | 267 lines
                    
90	$stored_procedures{"popen"}= sub {
                    
91		use IO::Pipe;
                    
92		my $fh=new IO::Pipe();
                    
                
wget.t https://github.com/rayleigh/cxgn-corelibs.git | Perl | 136 lines
                    
8use Test::Exception;
                    
9use IO::Pipe;
                    
10
                    
109
                    
110    my $pipe = IO::Pipe->new;
                    
111
                    
                
 

Source

Language