ProcessEnumerable.prototype.status(): Promise<Deno.CommandStatus>
Process exit status.
Important: This is a property that returns a Promise, not a method.
Use await p.status not await p.status().
The Promise resolves when the process exits. You should consume the process output before or concurrently with checking status to avoid resource leaks.
Promise<Deno.CommandStatus>