Strange behavior of command line parameter passing to linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using Far Manager under wine (version 1.2) and trying to open files from command line with native linux application (for example: to play a media with vlc) I've found that parameters are passed to program very strangely (possibly bug or feature?)

For example, if I run 
Code:
vlc "media 1.wav"


it passes two parameters instead of one to vlc: "media" and "1.wav", so file can't be opened properly. Nothing like 
Code:
vlc \"media 1.wav\"

 helps. However redirecting stdout or stderr output turn parameter passing to normal: run 
Code:
vlc "media 1.wav" 2>anyfile

 or even 
Code:
vlc "media 1.wav" >nul

 and vlc receive one parameter "media 1.wav" as it should and plays file properly. Well... any ideas?







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux