Ticket #603 (closed defect: fixed)
Background tasks fail to work under wperl (win32)
| Reported by: | azawawi | Owned by: | azawawi |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | editor | Version: | 0.46 |
| Keywords: | win32, wperl | Cc: |
Description
If you run padre.exe which is actually calls wperl, STDIN/STDOUT descriptors are invalid.
For example the syntax checker does the following:
Error from open(IO::Handle=GLOB(0x7490b74), <&STDIN): Bad file descriptor at C:/strawberry/perl/site/lib/Capture/Tiny.pm line 65 thread 1
Capture::Tiny::_open('IO::Handle=GLOB(0x7490b74)', '<&STDIN') called at C:/strawberry/perl/site/lib/Capture/Tiny.pm line 140 thread 1
Capture::Tiny::_copy_std() called at C:/strawberry/perl/site/lib/Capture/Tiny.pm line 272 thread 1
Capture::Tiny::_capture_tee(0, 0, 0, 'CODE(0x748804c)') called at C:/strawberry/perl/site/lib/Padre/Task/SyntaxChecker/Perl.pm line 85 thread 1
eval {...} called at C:/strawberry/perl/site/lib/Padre/Task/SyntaxChecker/Perl.pm line 59 thread 1
Padre::Task::SyntaxChecker::Perl::_check_syntax('Padre::Task::SyntaxChecker::Perl=HASH(0x60f4304)') called at C:/strawberry/perl/site/lib/Padre/Task/SyntaxChecker/Perl.pm line 47 thread 1
Padre::Task::SyntaxChecker::Perl::run('Padre::Task::SyntaxChecker::Perl=HASH(0x60f4304)') called at C:/strawberry/perl/site/lib/Padre/TaskManager.pm line 648 thread 1
Padre::TaskManager::worker_loop() called at C:/strawberry/perl/site/lib/Padre/TaskManager.pm line 294 thread 1
eval {...} called at C:/strawberry/perl/site/lib/Padre/TaskManager.pm line 294 thread 1
Change History
Note: See
TracTickets for help on using
tickets.

Fixed in r8242 and r8246
A side effect is the popping of black command line windows.