Skip to content

php exec/shell_exec does not work with powershell v6.0.0-beta.7 #4873

Closed
@sahnepudding

Description

@sahnepudding

After updating powershell v6.0.0-beta.6 to v6.0.0-beta.7
the following example command does not work anymore:

var_dump(exec("powershell --help"));
result: string(0) ""

On my production site (powershell v6.0.0-beta.6)
i still get the full output of the help command.
I' am sure it's not a problem with filepermissions on the server.

I would appreciate any ideas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-ExternalThe issue is caused by external component(s).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions