<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Process/isRunning",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTask(py)running"
  },
  "title" : "isRunning"
}
-->

# isRunning

A status that indicates whether the receiver is still running.

```
var isRunning: Bool { get }
```

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the receiver is still running, otherwise <doc://com.apple.documentation/documentation/Swift/false>. <doc://com.apple.documentation/documentation/Swift/false> means either the receiver could not run or it has terminated.

## See Also

[`-  waitUntilExit`](/documentation/Foundation/Process/waitUntilExit())

Blocks the process until the receiver is finished.

[`-  launch`](/documentation/Foundation/Process/launch())

Launches the task represented by the receiver.

[`-  terminate`](/documentation/Foundation/Process/terminate())

Sends a terminate signal to the receiver and all of its subtasks.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)