If you use shell features you need to use sh -c "the command". Also, with Wine you need to set the current directory for some stuff. man wine