Closed
Description
For the sake of simplify I would like start a discussion about folding ShellTask
and ProcessTask
. The following things confuse me:
- A
TaskProvider
must return aTask
but I cannot instantiate aTask
and I have to know that a Task is an or-type - Shell and process task have 7 identical properties and only differ in
process
vscommandLine
and inoptions
, which again have quite some overlap - My understanding is that a ShellTask should also be able to execute a process
- Does a ShellTask run in the terminal and does a process task "run" in an output channel or both run in a terminal?