Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7053

Prompt redirection does not redirect

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.02/04
    • 6.04.00, 6.02/08
    • Cling
    • None
    • Any

    Description

      In ROOT 5, .> also redirected stdout of user code. This has changed. Test case:

      $ cat hello.C
      void hello() {
         cout << "Hello!" << endl;
         return;
      }
      $ root -l -b
      root [0] .> aa.log
      root [1] .x hello.C
      Hello!

      In ROOT 5, "Hello!" ends up in aa.log:

      $ root -l -b
      root [0] .x hello.C > aa.log
      root [1]

      Attachments

        Activity

          People

            axel Axel Naumann
            axel Axel Naumann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: