Trim $v['command']

When copy and paste the $v['command'] if the user doesnt not check for the space it will be added and there will be a file not found error.