Skip to content

Commit

Permalink
check for tty
Browse files Browse the repository at this point in the history
  • Loading branch information
kla committed Oct 18, 2024
1 parent 35e9bbb commit 9b98349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default class Container {
}

async exec(command: string, options: RunOptions = {}) {
const args = '--interactive --tty'
const args = process.stdout.isTTY ? '--interactive --tty' : ''

linkSshAuthSock()

Expand Down

0 comments on commit 9b98349

Please sign in to comment.