Skip to content

External Program Execution #2764

Closed
Closed
@g-pearl

Description

@g-pearl

System Details

System Details Output


- Operating system name and version Windows 10 Enterprise 1909 Build 19363.836

### VSCode version: 1.45.1 5763d909d5f12fe19f215cbfdd29a91c0fa9208a x64

### VSCode extensions:
[email protected]
[email protected]


### PSES version:

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      5.1.18362.752
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.18362.752
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

I am experiencing a problem with running an external program
$times = (&"D:\exiftool-11.99\exiftool.exe" $filepath -csv -q | ConvertFrom-Csv).duration

Expected Behaviour

-- Description of what should be happening --
This should provide me the duration of all the video files in the specific path. This works without any issue in the ISE on the same machine

Actual Behaviour

-- Description of what actually happens --
When this line is run it never proceeds. The program does not run and results are not provided.
I have tried breaking in down to smaller steps and that runs inconsistently.

Attached Logs

Follow the instructions in the troubleshooting docs
about capturing and sending logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions