launchPath property

NSString? get launchPath

launchPath

Implementation

objc.NSString? get launchPath {
  objc.checkOsVersionInternal(
    'NSTask.launchPath',
    iOS: (true, null),
    macOS: (false, (10, 0, 0)),
  );
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_launchPath);
  return _ret.address == 0
      ? null
      : objc.NSString.castFromPointer(_ret, retain: true, release: true);
}
set launchPath (NSString? value)

setLaunchPath:

Implementation

set launchPath(objc.NSString? value) {
  objc.checkOsVersionInternal(
    'NSTask.setLaunchPath:',
    iOS: (true, null),
    macOS: (false, (10, 0, 0)),
  );
  _objc_msgSend_xtuoz7(
    this.ref.pointer,
    _sel_setLaunchPath_,
    value?.ref.pointer ?? ffi.nullptr,
  );
}