Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Integration
1/2
Library that implements the .NET Process class for IL2CPP using native code.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2020.3.48f1
Compatible
Compatible
Compatible
Description

1-to-1 native and direct replecement of System.Diagnostics.Process. Simply switch to it with "using KS.Diagnostics".


Most of the Process methods are supported. For more request them here: https://discord.gg/qdQQrjZneS


Supported OS:

  • Windows x64

Experimental:

  • Windows Arm64
  • Linux x64
  • Osx Intel x64
  • Osx Arm64
  • Windows 2019 Server x64 (also win7 embedded)

Implemented features:


System.Diagnostics.Process:

- StartInfo

- Start()

- Dispose()

- StartInfo

- EnableRaisingEvents

- Exited

- OutputDataReceived

- ErrorDataReceived

- BeginOutputReadLine()

- BeginErrorReadLine()

- CancelOutputRead()

- WaitForExit()

- GetProcesses()

- GetProcesses(string)

- GetProcessesByName(string)

- GetProcessesByName(string,string)

- Kill()

- Kill(bool)

- ProcessName

- Id

- ExitCode

- StartTime

- EndTime

- StandardInput.BaseStream.Write(byte[], count, offset) (currently small mem allocation)

- StandardInput.BaseStream.Write(IntPtr, count, offset) (no alloc)

- StandardInput.BaseStream.Flush()

- StandardInput.BaseStream.Close()

- StandardInput.Close()

- TotalProcessorTime


System.Diagnostics.ProcessStartInfo:

- FileName

- Arguments

- UseShellExecute

- RedirectStandardOutput

- RedirectStandardError

- CreateNoWindow

- WorkingDirectory

- Verb

- Verbs


Differences due to native code:

  • OutputDataReceived object sender is always null
  • Exited object sender is always null and EventArgs is always empty
  • Exceptions may crash the application, make sure none can occur (for ex. wrong file path) Update: Exceptions shouldn't crash anymore and are rethrown as ExternalException, use Exception.HResult to check for specific type
Related keywords

System.Diagnostics.Process for IL2CPP

(4)
13 users have favourite this asset
(13)
$9.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
9.2 MB
Latest version
1.6.0
Latest release date
Mar 5, 2024
Original Unity version
2020.3.48
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR