Skip to content
This repository was archived by the owner on Feb 4, 2019. It is now read-only.
This repository was archived by the owner on Feb 4, 2019. It is now read-only.

Run executable files form the current directory #409

Description

@ForNeVeR

Enter a directory with the executable file (for example, npm.cmd). After that, in PowerShell:

PS> npm.cmd
Command 'npm.cmd' cannot be found. # And here goes the suggestion about calling it as .\npm.cmd
PS> .\npm.cmd # or ./npm.cmd
# Command executes

In Pash:

Pash> npm.cmd
# Command executes
Pash> .\npm.cmd
Command '\npm.cmd' not found.
  +CategoryInfo: ObjectNotFound, Reason: ParentContainsErrorRecordException
  +FullyQualifiedErrorId: CommandNotFoundException

The exception generated at Pash\Source\System.Management\Pash\Implementation\CommandManager.cs:125.

Please note that we have an ignored test for a valid behavior.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions