Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
Not able to write using Open2
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Ashwin, post: 4803590"] SOrry, I missee one quatation here is compiled code, is there no way I can get it done with open2? use warnings; use strict; use IPC::Open2; use Cwd; my $currentdir=cwd(); my $pid; chdir ("/source/internal/") or die "Cannot Change Directory"; $pid = open2 (\*READ,\*MY_WRITE,"BuildInternal.pl") or die; while (<READ>) { print $_; } print "MY_WRITE\n"; while (<READ>) { print $_; } close MY_WRITE; close READ; -- [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
Not able to write using Open2
Top