ryuta46 / vscode-multi-command

Visual Studio Code Plugin named multi-command
MIT License
229 stars 14 forks source link

command not found #40

Closed danialwafiy closed 3 years ago

danialwafiy commented 3 years ago

I'm trying to run a test command 3 times but getting the error: command 'php artisan test' not found

"multiCommand.commands": [
    {
        "command": "test.3.times",
        "sequence": [
            "php artisan test",
            "php artisan test",
            "php artisan test",
        ],
    },
]
ryuta46 commented 3 years ago

This extension runs commands in vscode and can't run commands in shell directly. I think php artisan test is not a command in vscode. If you want to run shell commands, please use Command Runner extension together.

{
    "command": "test.3.times",
    "sequence": [
        {
            "command": "command-runner.run",
            "args": { "command": "php artisan test" }
        },
        {
            "command": "command-runner.run",
            "args": { "command": "php artisan test" }
        },
        {
            "command": "command-runner.run",
            "args": { "command": "php artisan test" }
        }
    ]
}