log spawn command to console