[fix] clean err status

This commit is contained in:
jscampucci 2024-07-10 15:11:35 +02:00
parent e992f6096f
commit 90cb99fb18
1 changed files with 2 additions and 4 deletions

View File

@ -126,12 +126,10 @@ class DLServices {
var shellErrorController = ShellLinesController(); var shellErrorController = ShellLinesController();
var shell = Shell( var shell = Shell(
stdout: shellLinesController.sink, stdout: shellLinesController.sink, stderr: shellErrorController.sink);
stderr: shellErrorController.sink,
verbose: false);
debugPrint('Running $ytDlpPath $command'); debugPrint('Running $ytDlpPath $command');
await shell.run('$ytDlpPath $command').then((result) { shell.run('$ytDlpPath $command').then((result) {
result.map((e) { result.map((e) {
debugPrint('Analyse result: $e'); debugPrint('Analyse result: $e');
FileLogger().d('Analyse result: ${e.toString()}'); FileLogger().d('Analyse result: ${e.toString()}');