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

InputStream.available() cant be used

XMLWordPrintable

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

      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

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

                Created:
                Updated:
                Resolved: