in reply to Re: system call with semicolon in argument
in thread system call with semicolon in argument
I was already escaping the backslash as LanX mentioned. I ended up using ikegami's solution, which worked great and also doesn't require escaping the semicolon in the input. It is definitely a better and safer solution than what I was using before.