mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
use os.remove instead of calling "rm" in os.execute
This commit is contained in:
@@ -240,7 +240,8 @@ Input = {
|
||||
function Input:init()
|
||||
if util.isEmulated()==1 then
|
||||
-- dummy call that will initialize SDL input handling
|
||||
os.execute("rm -f emu_event && mkfifo emu_event")
|
||||
os.remove("emu_event")
|
||||
os.execute("mkfifo emu_event")
|
||||
input.open("emu_event")
|
||||
-- SDL key codes
|
||||
self.event_map = self.sdl_event_map
|
||||
|
||||
Reference in New Issue
Block a user