System.Diagnostics.Process for IL2CPP View on Asset Store (opens in new tab)

Package details

Latest version
1.6.0
Last updated
First released
Unity version
2020.3.48 or later
Package size
9.2 MB
Files
24
Favorites
16
Views in the past week
8

Price tracking

Last checked
Tracked since
Lowest recorded
$9.99 on

Keywords

System.Diagnostics.Process for IL2CPP

by kamyker (opens in new tab)

4.5 / 5 · 4 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 3
4 stars 0
3 stars 1
2 stars 0
1 star 0

Library that implements the .NET Process class for IL2CPP using native code.

Price $9.99

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for System.Diagnostics.Process for IL2CPP, 6 months Current $9.99; lowest $9.99; highest $9.99 in this period. $0 $5 $10 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 1

System.Diagnostics.Process for IL2CPP screenshot 1

System.Diagnostics.Process for IL2CPP screenshot 1

About this asset

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

From the publisher's Asset Store listing.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2020.3.48f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.