Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:io
  3. Process
  4. kill abstract method
kill
description

kill abstract method

boolkill([
  1. ProcessSignalsignal =ProcessSignal.sigterm
])

Kills the process.

Where possible, sends thesignal to the process. This includesLinux and OS X. The default signal isProcessSignal.sigtermwhich will normally terminate the process.

On platforms without signal support, including Windows, the calljust terminates the process in a platform specific way, and thesignal parameter is ignored.

Returnstrue if the signal is successfully delivered to theprocess. Otherwise the signal could not be sent, usually meaningthat the process is already dead.

Implementation

bool kill([ProcessSignal signal = ProcessSignal.sigterm]);
  1. Dart
  2. dart:io
  3. Process
  4. kill abstract method
Process class

[8]ページ先頭

©2009-2025 Movatter.jp