Closed Bug 334847 Opened 20 years ago Closed 7 years ago

readFile returns empty string inplace of standard input under Unix stdin

Categories

(Rhino Graveyard :: Core, defect, P5)

x86
Windows XP
defect

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: w.langdon, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+ On sun solaris rhino 1.6 release 2 it does not appear to be possible for rhino to read standard input. Ie I want to pipe text into java -jar js.jar myscript.js I have tried variations of readFile("/dev/stdin") and readFile("-") but all attempts have returned an empty string so far. cf also bugzilla 329908 Any help you are able to give would be most welcome Bill Reproducible: Always
Assignee: igor.bukanov → please_see_bug_288433
Assignee: please_see_bug_288433 → nobody
Priority: -- → P5

Closing. Bug management is now done here:
https://github.com/mozilla/rhino

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.