Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21840

running ezpublish:legacy:script displays unwanted '#!/usr/bin/env php' string

    XMLWordPrintable

Details

    Description

      Executing a legacy script through php ezpublish/console ezpublish:legacy:script will output the following in the first line:

      #!/usr/bin/env php
      

      The above should not be displayed, even more so when the scripts are given the '--quiet' option.
      Another use case would be if the output needs to be in a certain format (such as JSON), in which case the line will break the format.

      Note:

      This output originates in the shebang line on the actual legacy scripts, that specify the php interpreter to use.

      Attachments

        Activity

          People

            Unassigned Unassigned
            joao.inacio-obsolete@ez.no Joao Inacio (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h