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

Run executable files form the current directory #409

Open
ForNeVeR opened this issue Jan 20, 2016 · 0 comments
Open

Run executable files form the current directory #409

ForNeVeR opened this issue Jan 20, 2016 · 0 comments

Comments

@ForNeVeR
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant