Skip to content

environmentSetupScript exit code not checked #3566

@joelfrederico

Description

@joelfrederico

Brief Issue Summary

I had an environmentSetupScript that worked. It started failing when IT removed a feature from the machine I needed. But since VSCode doesn't check the script's exit code, I never had a chance to notice that it was failing.

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

The result of the script is here:

const res = await proc.execute(run_command, [], null, { shell: true, silent: true }).result; // run script

As far as I can tell, its exit code is never checked. If it was checked, and an error raised, I could have noticed that my script wasn't working properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buga bug in the productsuggestedTemporary label for internal tracking for suggested bugs to pick up in spare time.

    Type

    No type

    Projects

    Status

    Completed

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions