Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-293

InputStream.available() cant be used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 0.57
    • 0.56
    • main
    • None

    Description

      If we have redirect input when we start æsh like:
      java AeshExample << EOF
      ls
      foo
      EOF

      we cant use InputStream.available() since it wont detect the end of the stream. we also need to verify using redirect like:
      java AeshExample < textfile

      Attachments

        Activity

          People

            spederse@redhat.com Stale Pedersen
            spederse@redhat.com Stale Pedersen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: