Using subprocess instead of os. Eliminated new-line.