Add pty=False to apache commands