sjt.is

Pipeline. Period.

What I learned today #3: Wrapping your paths in quotes!

Always always always remember wrapping your paths in quotes. I keep running into stuff I wrote break because someone saved a file with a space in it and I forgot to wrap the path in quotes. This works: blackwave.exe -d 50 superwave.wav This doesn’t: blackwave.exe -d 50 super 2.wav (two file arguments, ‘super’ and ‘2.wav’) To fix this: blackwave.exe -d 50 "super 2.wav" So remember: whenever you are using path rembemer the "\""+ variable + "\"" (or something else that suits your language)