Karaf
  1. Karaf
  2. KARAF-521

Executing complex scripts is extremely difficult

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.1, 3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Copy / pasting currently needs command to be defined on a single line, but KARAF-519 makes that unusable.
      There's no source command either to execute a script from a file.

        Issue Links

          Activity

          Hide
          Guillaume Nodet added a comment -

          Actually, it may be possible by building the command line using strings and using eval after that:

          cmd = "foo"
          cmd = "$cmd bar"
          eval $cmd
          
          Show
          Guillaume Nodet added a comment - Actually, it may be possible by building the command line using strings and using eval after that: cmd = "foo" cmd = "$cmd bar" eval $cmd

            People

            • Assignee:
              Guillaume Nodet
              Reporter:
              Guillaume Nodet
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development