We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9de78d8 commit 19c0211Copy full SHA for 19c0211
src/content/docs/dev/examples.mdx
@@ -57,16 +57,9 @@ interface CommandResult {
57
```
58
59
```ts
60
-const result: CommandResult = await vscode.commands.executeCommand(`code-for-ibmi.runCommand`, {
61
- environment: `pase`,
62
- command: `ls`
63
-});
64
-
65
-// or
66
67
-const result = await vscode.commands.executeCommand(`code-for-ibmi.runCommand`, {
68
69
+const rows = await instance.getConnection().runCommand({
+ command: `WRKACTJOB`,
+ environment: `ile`
70
});
71
72
0 commit comments