# Fix shell welcome prompt showing up in Zed's stdout \(\#41311\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/5e37a7b78c6e8579352d6b2d7d62185c151c5abb)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 5e37a7b78c6e8579352d6b2d7d62185c151c5abb

Requested commit: 5e37a7b78c6e8579352d6b2d7d62185c151c5abb

Commit: 5e37a7b78c6e8579352d6b2d7d62185c151c5abb

Tree: 0829552eb2f0833d58d71afb30ed236b86eb3e88

Author: Anthony Eid

Committer: GitHub

## Message

```
Fix shell welcome prompt showing up in Zed's stdout (#41311)

The bug occurred because `smol::process::Command::from(_)` doesn't set
the correct fields for stdio markers. So moving the stdio configuration
after converting to a `smol` command fixed the issue.

I added the `std::process::Command::{stdout, stderr, stdin}` functions
to our disallowed list in clippy to prevent any bugs like this appearing
in the future.

Release Notes:

- N/A
```

## Parents

- [00278f43bb0c5ce7c9961fca42d8e924a0cb157a](https://git.cafe/gitcafe/zed/commit/00278f43bb0c5ce7c9961fca42d8e924a0cb157a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/5e37a7b78c6e8579352d6b2d7d62185c151c5abb?format=markdown)
