mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[.mailcap] Seems that filenames with apostrohes and brackets are not handled properly
Compile: gcc -o echo.exe echo.c
This commit is contained in:
parent
9b367de33b
commit
3af1280501
@ -1 +1 @@
|
||||
audio/*; echo '{"command":["loadfile","%s","append-play"]}' | socat - /tmp/mpv.sock 2> /dev/null > /dev/null
|
||||
audio/*; echo.exe %s | socat - /tmp/mpv.sock 2> /dev/null > /dev/null
|
||||
|
8
contrib/audio/echo.c
Normal file
8
contrib/audio/echo.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
printf("{\"command\":[\"loadfile\",\"%s\",\"append-play\"]}\n", argv[1]);
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user