Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions desktop/extensions-sdk/dev/api/backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,7 @@ window.ddClient.spawnHostCmd(
}
);
```

> You cannot use this to chain commands in a single `exec()` invocation (like `cmd1 $(cmd2)` or using pipe between commands).
>
> You need to invoke `exec()` for each command and parse results to pass parameters to the next command if needed.
6 changes: 5 additions & 1 deletion desktop/extensions-sdk/dev/api/docker.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Docker
title: Docker
description: Docker extension API
keywords: Docker, extensions, sdk, API
---
Expand Down Expand Up @@ -128,6 +128,10 @@ await ddClient.docker.cli.exec(
);
```

> You cannot use this to chain commands in a single `exec()` invocation (like `docker kill $(docker ps -q)` or using pipe between commands).
>
> You need to invoke `exec()` for each command and parse results to pass parameters to the next command if needed.

See the [Exec API reference](reference/interfaces/Exec.md) for details about these methods.

> Deprecated execution of Docker commands
Expand Down