Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8181792

nashorn samples/exec.js has some incorrect examples

    XMLWordPrintable

Details

    • b25
    • generic
    • generic

    Description

      $EXEC("ls", undefined, "-l", "-a")
      $EXEC("ls", undefined, ["-l", "-a"])


      should be

      $EXEC("ls -l -a")
      $EXEC(["ls", "-l", "-a"])

      Attachments

        Activity

          People

            pmuthuswamy Priya Lakshmi Muthuswamy (Inactive)
            jlaskey Jim Laskey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: