Skip to content

Conversation

@CallumKerson
Copy link

Hey, I was using this to run FFMpeg commands and noticed it hanging on commands that expected input. As this is not the interactive case, I have added

task.standardInput = FileHandle.nullDevice

to the ActualTaskExecutor, so that the task is expecting no input. I am not sure if this will have any adverse effects but it works for all the commands I have run, but only tested on macOS.

@thii
Copy link
Contributor

thii commented Jan 16, 2020

Tests are failing on Linux:

Fatal error: POSIX command failed with error: 9 -- EBADF: file Foundation/Process.swift, line 542
717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants