From ba20c4830b39aabd7e9c17c5124bdf7a43ccafae Mon Sep 17 00:00:00 2001 From: kirari04 Date: Mon, 22 Jan 2024 21:18:33 +0100 Subject: [PATCH] fixed not found error --- services/Encoder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/Encoder.go b/services/Encoder.go index b023d33..11e2d36 100755 --- a/services/Encoder.go +++ b/services/Encoder.go @@ -706,7 +706,7 @@ func prepocessPgs(encodingTask models.Subtitle, absFolderOutput string, absFileI "bash", "-c", ffmpegCommand) - if err := cmd.Start(); err != nil { + if err := cmd.Run(); err != nil { log.Println(ffmpegCommand) return fmt.Errorf("Error happend while encoding subtitle: %v", err.Error()) }