mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 22:52:29 +01:00
16 lines
519 B
Markdown
16 lines
519 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [RunningScript](./bitburner.runningscript.md) > [parent](./bitburner.runningscript.parent.md)
|
||
|
|
||
|
## RunningScript.parent property
|
||
|
|
||
|
Process ID of the parent process.
|
||
|
|
||
|
If this script was started by another script, this will be the PID of that script. If this script was started directly through the terminal, the value will be 0.
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
parent: number;
|
||
|
```
|