Skip to content

Commit

Permalink
fixed not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirari04 committed Jan 22, 2024
1 parent 2fcd564 commit ba20c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/Encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit ba20c48

Please sign in to comment.