windowsSubsystemName static method

String windowsSubsystemName(
  1. int windowsSubsystem
)

Returns the windowsSubsystem value name.

Implementation

static String windowsSubsystemName(int windowsSubsystem) =>
    switch (windowsSubsystem) {
      0 => 'unknown',
      2 => 'GUI',
      3 => 'console',
      _ => '?',
    };