Tasks Shell Input installs statistics
By Augusto · VS Code Marketplace · Other
Use shell commands as input for your tasks
Tasks Shell Input has 262,829 recorded installs on VS Code Marketplace, ranking #1262 of 2,501 tracked listings.
Rating: 4.89 / 5 from 18 ratings
About Tasks Shell Input
Tasks: Shell Input
This extension aims to extend the possibilities of input in task execution. Currently, VSCode supports 3 types of inputs for your tasks:
promptStringpickStringcommand
None of them allows to get an input from a system command for example. This extension executes a shell command in your OS and each line of the output will be used as a possible input for your task.
Usage example:

{
"version": "2.0.0",
"tasks": [
{
"label": "Echo Project File",
"type": "shell",
"command": "echo ${input:inputTest}",
"problemMatcher": []
}
],
"inputs": [
{
"id": "inputTest",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": "cat ${file}",
"cwd": "${workspaceFolder}",
"env": {
"WORKSPACE": "${workspaceFolder[0]}",
"FILE": "${file}",
"PROJECT": "${workspaceFolderBasename}"
}
}
}
]
}
Available Commands
The extension makes two commands available:
shellCommand.execute: Runs a system command and shows a dropdown with the returned options. See The commandshellCommand.executeshellCommand.promptString: This is a reimplementation of the built-inpromptString, but this version can be used in the command ofshellCommand.execute. See The commandshellCommand.promptString
The command shellCommand.execute
Field Separator
By default the extension returns the exact string value that was produced by the shell command and then shown and selected in 'Quick Pick' dialog. However, sometimes it is useful to show more descriptive information than the internal string value that is returned. This can be done by specifying a fieldSeparator and making the shell command return lines containing multiple fields separated by that value. Supported fields are:
<value>|<label>|<description>|<detail>
Here, <value> is what is returned as input variable and is not shown in the UI. Instead, <label> and <description> are shown on a single line and <detail> is rendered on a separate line. These fields can also include icons such as $(git-merge). All fields except <value> are optional and can be omitted. fieldSeparator can be any string value.
Next example shows a process picker very similar to the built-in ${command:pickProcess}:
{
"version": "2.0.0",
"tasks": [
{
"label": "Echo Process ID",
"type": "shell",
"command": "echo ${input:processID}",
"problemMatcher": []
}
],
"inputs": [
{
"id": "processID",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": "ps axww --no-headers k comm -o '%p|%c|%p|%a' | sed -e 's/^\\s*//' -e 's/\\s*|\\s*/|/g'",
"fieldSeparator": "|",
"description": "Select the process to attach to"
}
}
]
}
VSCode renders it like this:

Arguments for shellCommand.execute
command: the system command to be executed (must be in PATH). If given as an array, the elements are joined by spaces.commandArgs: if provided,commandis interpreted as the binary to run andcommandArgsare the arguments. This is useful if the binary you want to run has spaces (likeC:\Program Files\*). This translates tochild_process.execFileSync(command, commandArgs).stdin: if provided, this string is sent to the standard input of the commandstdinResolveVars: whether to perform variable substitution (see below) forstdin(default true).cwd: the directory from within it will be executedenv: key-value pairs to use as environment variables (it won't append the variables to the current existing ones. It will replace instead)useFirstResult: skip 'Quick Pick' dialog and use first result returned from the commanduseSingleResult: skip 'Quick Pick' dialog and use the single result if only one returned from the commandrememberPrevious: remember the value you previously selected and default to it the next time (default false) (:warning: need taskId or rememberAs to be set)allowCustomValues: If true, it's possible to enter a new value that is not part of the command output. Has no effect withuseFirstResult.multiselect: If true, it's possible to select multiple values. They are joined bymultiselectSeparator. Has no effect withuseFirstResult.multiselectSeparator: The string with which to join multiple options whenmultiselectis true (default" "). Has no effect withoutmultiselect.warnOnStderr: If true, a warning message is shown if the command outputs anything on stderr (default: true). Has no effect ifstdiois notstdout.filterEmptyResults: If true, empty lines output onstdioare filtered out (default: true).taskId: Unique id to use for storing the last-used value.rememberAs: Specify thetaskIdof another input to share history with that input.fieldSeparator: the string that separatesvalue,label,descriptionanddetailfieldsdescription: shown as a placeholder in 'Quick Pick', provides context for the inputmaxBuffer: largest amount of data in bytes allowed on stdout. Default is 1024 * 1024. If exceeded ENOBUFS error will be displayeddefaultOptions: if the command doesn't return anything, the list provided will be set for the user to choose fromstdio: specifies whether to get the results fromstdout,stderr, orboth. Default isstdout.
As of today, the extension supports variable substitution for:…
Description from the VS Code Marketplace listing.
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (5)Similar VS Code Marketplace Other plugins
All 20 Tasks Shell Input alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=augustocdias.tasks-shell-input. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.