Menu

#102 C:Set without parameters is not showing information

closed-fixed
Shell (21)
5
2011-11-30
2011-11-25
No

It should show:

process <number>
RC <number>
Result2 <number>

This was reported to work on ABIV1

Discussion

  • Olivier Tigreat

    Olivier Tigreat - 2011-11-25

    It should only be a matter of adding the two functions l2a() and cliVarNum() as they are there:
    http://repo.or.cz/w/AROS.git/blob/41017f3ba404110a9eac1687eb11cc4008e0685d:/workbench/c/Shell/cliVarNum.c

    And then to add those:

    - In Shell's main function, after: is.cliNumber = me->pr_TaskNum; (which should be the line 22 of this function)
    cliVarNum("process", is.cliNumber);

    - At the very end of executeLine() function, just before: return error;
    cliVarNum("RC", cli->cli_ReturnCode);
    cliVarNum("Result2", cli->cli_Result2);

     
  • Krzysztof Smiechowicz

    Fixed in r42605

     
  • Krzysztof Smiechowicz

    • assigned_to: nobody --> otigreat
    • status: open --> closed-fixed
     
  • Olivier Adam

    Olivier Adam - 2011-11-30
    • labels: --> Shell
     

Log in to post a comment.