I have my own symfony console commands, some of which take a filename as the argument.
eg.
$ php app/console mycommands:doTheThing /path/to/my/file.txt
I have tried using the /dev/fd/0 trick to use a string instead of a file here, however it's still not working.
eg.
$ php app/console mycommands:doTheThing php://dev/fd/0 <<<'myFileContents'
Could anybody provide any insight or help?