Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
"cd /my/directory && mono --debug /path/bin &" would be better. – symcbeanOct 5 '11 at 12:01
@symcbean that's true, if you're worried the directory might not exist, your way is better. – Paul TomblinOct 5 '11 at 13:27
try this without changing the current directory of the shell /bin/env PWD=/my/directory /path/to/mono --debug /path/bin & – Nikhil MulleyDec 5 '11 at 16:56
@PaulTomblin I would suggest to use the full path to mono, to avoid any ambiguity from any possible mono program/script being present in /my/directory and if the PATH leads to use the current working directory as the source for first lookup. – Nikhil MulleyDec 5 '11 at 16:58