Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Passing a File Descriptor to a New Process on Windows

by hardburn (Abbot)
on Apr 23, 2014 at 13:28 UTC ( [id://1083353]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Fcntl;
    my $flags = fcntl $in, F_GETFD, 0 or die "fcntl F_GETFD: $!";
    fcntl $in, F_SETFD, $flags & ~FD_CLOEXEC or die "fcntl F_SETFD: $!";
    
  2. or download this
    This is perl 5, version 18, subversion 1 (v5.18.1) built for MSWin32-x
    +64-multi-thread
    
  3. or download this
    #!/usr/bin/perl
    use v5.14;
    ...
        exec( 'perl', './fd_get.pl', $fd )
            or die "Could not exec: $!\n";
    }
    
  4. or download this
    #!/usr/bin/perl
    use v5.14;
    ...
    }
    
    close $in;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1083353]
Approved by rnewsham
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-24 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found