Comment faire en sorte qu'une tâche gradle project.exec ou Exec n'affiche pas toutes les informations relatives à la ligne de commande ?
code
project.exec {
workingDir = exeDir.absolutePath
executable = starter.absolutePath
args = commandLine.split().toList()
environment << envVars
project.logging.captureStandardOutput LogLevel.INFO
standardOutput = outputStream
errorOutput = outputStream
}
sortie
Starting process 'command 'regexIdentifier''. Working directory:
/home/code/ Command: /home/code/bin/regexIdentifier server username
password ...
Successfully started process 'command '/home/code/bin/regexIdentifier''
J'ai besoin d'exécuter un cmd avec un mot de passe via gradle Exec task et je veux que gradle n'affiche pas la ligne de commande lors de l'exécution.