-
Notifications
You must be signed in to change notification settings - Fork 37
interactive execution
chriscamicas edited this page May 14, 2019
·
1 revision
By default the extension runs the file in batch mode, since it's the only way to capture output (stdout and stderr) and display them in the VSCode output pane.
But, you might want to execute in interactive mode (AKA Character mode, with user input), the best way to achieve this is with VSCode tasks. Here is a working example:
BTW you can enable an interactive mode using VSCode tasks, here is an example:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "ABL interactive",
"type": "process",
"command": "c:\\Progress\\OpenEdge\\bin\\_progres.exe",
"args": [
"-p",
"test.p"
],
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "shared",
"showReuseMessage": false,
"clear": false
},
"options": {
"cwd": "${workspaceRoot}"
},
"problemMatcher": []
}
]
}