# ExecutableResource Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ExecutableResource](/reference/api/csharp/aspire.hosting/executableresource.md)
- Kind: `Properties`
- Members: `2`

A resource that represents a specified executable process.

## Command

- Name: `Command`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ExecutableResource.cs#L40)

Gets the command associated with this executable resource.

```csharp
public string Command { get; }
```

## WorkingDirectory

- Name: `WorkingDirectory`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ExecutableResource.cs#L45)

Gets the working directory for the executable resource.

```csharp
public string WorkingDirectory { get; }
```
