RE: capturing output from running process crashes gtk2



How do I write it so as to avoid the warning?

You can't. As I was experimenting yesterday on how to control scanimage

OK. So the dirty method is to write

my $pid = open3(\*WRITE, 0 ,\*ERROR, "./test_scan" );
print WRITE " ";

Perl no longer complains about WRITE not being used, and scanimage should ignore the space (can't test it 
here at work).

Thanks

Jeff



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]