I am having problem when I use the -output-directory option while I am using minted. It does not move the .out.pyg and .pyg file to the output directory and it gives me an error.

I there any solution to order minted to put the auxilary files in the output directory not in root folder? MWE:
\documentclass[a4paper]{article}
\usepackage{fontspec}
\usepackage{minted}
\begin{document}
\begin{minted}{c}
const double pi = 3.1415926535
\end{minted}
\end{document}
-output-directoryoption? – T. Verron May 07 '13 at 11:20