Ticket #76 (new defect)

Opened 13 years ago

pkpgcounter always tries to read from stdin when not launched from ttyjj

Reported by: lukas227 Owned by: jerome
Priority: trivial Milestone:
Component: pykota Version: development
Keywords: Cc:

Description

The main function of pkpgpdls/analyzer.py will always append "-" to the list of arguments in case it not launched from a tty (and "-" is not already there).

When not launched from tty with a file given as argument, the file is correctly processed, but an error is produced on stderr:
Unsupported file format for /tmp/tmpXXXXXX (input file /tmp/tmpXXXXXX is empty !)

Patch is attached.

Attachments

patch (0.5 kB) - added by lukas227 13 years ago.

Change History

Changed 13 years ago by lukas227

Note: See TracTickets for help on using tickets.