Android: Avoid trying to use Android's own ionice, which does not allow specifying a command to run. Fixes transferring files to/from android and probably a few other things.
This commit is contained in:
parent
e3a71c006a
commit
d6d5b0a6d8
3 changed files with 9 additions and 0 deletions
|
@ -52,7 +52,11 @@ getBatchCommandMaker = do
|
|||
#ifndef mingw32_HOST_OS
|
||||
nicers <- filterM (inPath . fst)
|
||||
[ ("nice", [])
|
||||
#ifndef __ANDROID__
|
||||
-- Android's ionice does not allow specifying a command,
|
||||
-- so don't use it.
|
||||
, ("ionice", ["-c3"])
|
||||
#else
|
||||
, ("nocache", [])
|
||||
]
|
||||
return $ \(command, params) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue