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

Prompt redirection does not redirect

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.02/04
    • Fix Version/s: 6.04.00, 6.02/08
    • Component/s: Cling
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: