Skip to content

Remove SendSignalCtrlC.exe dependancy #67

@eliduvid

Description

@eliduvid

As you can see here instead of keyboard interrupt (Ctrl + C) you can send letter q to ffmpeg console. This should be cross platform, does not require starting a new process and most importantly - now you don't need SendSignalCtrlC.exe dependency for windows.

It is pretty straightforward to do in java:

Process process =  new ProcessBuilder().command(command).start();
//...
OutputStreamWriter outputStreamWriter = new OutputStreamWriter(process.getOutputStream());
outputStreamWriter.write("q\n");
outputStreamWriter.flush();

I can try and implement it, but I can't test it on my machine for unrelated reasons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions