-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interactive command output not shown #3667
Comments
Right now it is not possible. As each task is executed in a separate process. |
ochorocho
added a commit
to ochorocho/deployerphp
that referenced
this issue
Aug 24, 2023
* Update recipe for TYPO3 v12 * Allow tasks to be added before or after a task in a given task group * Allow to hide spinner to enable interactive tasks on be run on the remote server Fixes deployphp#3667
antonmedv
pushed a commit
that referenced
this issue
Sep 13, 2023
* [TASK] Update TYPO3 recipe * Update recipe for TYPO3 v12 * Allow tasks to be added before or after a task in a given task group * Allow to hide spinner to enable interactive tasks on be run on the remote server Fixes #3667 * [TASK] Update docs * [TASK] Remove deploy:vendors from recipe We aim for minimal requirements on the target server. Thus, all preparation should be done in CI. * [TASK] Update comment
This was referenced Dec 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Deployer version: 7.3.1
Deployment OS: php:8.1-cli-alpine (Docker)
I have the following task. This task will simply run
./vendor/bin/typo3 setup
on the remote server using symfony/process:This command is interactive, so user input ist required.
I tried using the
run('{{bin/typo3}} setup');
and setssh_arguments: ['-tt']
function provided by deployer, but this leaves the cli stuck without showing the interactive questions:Without the
ssh_arguments: ['-tt']
the task fails:Is there a way to run interactive commands on the server?
The text was updated successfully, but these errors were encountered: