save cmd output as return