mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
5.3 KiB
JavaScript
2 lines
5.3 KiB
JavaScript
/*! For license information please see 1022b4e6.5cd4c3de.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[94461],{52324:(s,e,r)=>{r.r(e),r.d(e,{assets:()=>d,contentTitle:()=>o,default:()=>a,frontMatter:()=>i,metadata:()=>c,toc:()=>l});var t=r(85893),n=r(11151);const i={sidebar_label:"Process"},o="Process class",c={id:"browsers-api/browsers.process",title:"Process class",description:"Signature:",source:"@site/versioned_docs/version-22.8.2/browsers-api/browsers.process.md",sourceDirName:"browsers-api",slug:"/browsers-api/browsers.process",permalink:"/browsers-api/browsers.process",draft:!1,unlisted:!1,tags:[],version:"22.8.2",frontMatter:{sidebar_label:"Process"},sidebar:"browsersApi",previous:{title:"Options",permalink:"/browsers-api/browsers.options"},next:{title:"Process.(constructor)",permalink:"/browsers-api/browsers.process._constructor_"}},d={},l=[{value:"Signature:",id:"signature",level:4},{value:"Constructors",id:"constructors",level:2},{value:"Properties",id:"properties",level:2},{value:"Methods",id:"methods",level:2}];function h(s){const e={a:"a",code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",...(0,n.a)(),...s.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e.h1,{id:"process-class",children:"Process class"}),"\n",(0,t.jsx)(e.h4,{id:"signature",children:"Signature:"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-typescript",children:"export declare class Process\n"})}),"\n",(0,t.jsx)(e.h2,{id:"constructors",children:"Constructors"}),"\n",(0,t.jsxs)("table",{children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:(0,t.jsx)(e.p,{children:"Constructor"})}),(0,t.jsx)("th",{children:(0,t.jsx)(e.p,{children:"Modifiers"})}),(0,t.jsx)("th",{children:(0,t.jsx)(e.p,{children:"Description"})})]})}),(0,t.jsx)("tbody",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)("span",{id:"_constructor_",children:(0,t.jsx)(e.a,{href:"/browsers-api/browsers.process._constructor_",children:"(constructor)(opts)"})})}),(0,t.jsx)("td",{}),(0,t.jsx)("td",{children:(0,t.jsxs)(e.p,{children:["Constructs a new instance of the ",(0,t.jsx)(e.code,{children:"Process"})," class"]})})]})})]}),"\n",(0,t.jsx)(e.h2,{id:"properties",children:"Properties"}),"\n",(0,t.jsxs)("table",{children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:(0,t.jsx)(e.p,{children:"Property"})}),(0,t.jsx)("th",{children:(0,t.jsx)(e.p,{children:"Modifiers"})}),(0,t.jsx)("th",{children:(0,t.jsx)(e.p,{children:"Type"})}),(0,t.jsx)("th",{children:(0,t.jsx)(e.p,{children:"Description"})})]})}),(0,t.jsx)("tbody",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)("span",{id:"nodeprocess",children:"nodeProcess"})}),(0,t.jsx)("td",{children:(0,t.jsx)(e.p,{children:(0,t.jsx)(e.code,{children:"readonly"})})}),(0,t.jsx)("td",{children:(0,t.jsx)(e.p,{children:"childProcess.ChildProcess"})}),(0,t.jsx)("td",{})]})})]}),"\n",(0,t.jsx)(e.h2,{id:"methods",children:"Methods"}),"\n",(0,t.jsxs)("table",{children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:(0,t.jsx)(e.p,{children:"Method"})}),(0,t.jsx)("th",{children:(0,t.jsx)(e.p,{children:"Modifiers"})}),(0,t.jsx)("th",{children:(0,t.jsx)(e.p,{children:"Description"})})]})}),(0,t.jsxs)("tbody",{children:[(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)("span",{id:"close",children:(0,t.jsx)(e.a,{href:"/browsers-api/browsers.process.close",children:"close()"})})}),(0,t.jsx)("td",{}),(0,t.jsx)("td",{})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)("span",{id:"hasclosed",children:(0,t.jsx)(e.a,{href:"/browsers-api/browsers.process.hasclosed",children:"hasClosed()"})})}),(0,t.jsx)("td",{}),(0,t.jsx)("td",{})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)("span",{id:"kill",children:(0,t.jsx)(e.a,{href:"/browsers-api/browsers.process.kill",children:"kill()"})})}),(0,t.jsx)("td",{}),(0,t.jsx)("td",{})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)("span",{id:"waitforlineoutput",children:(0,t.jsx)(e.a,{href:"/browsers-api/browsers.process.waitforlineoutput",children:"waitForLineOutput(regex, timeout)"})})}),(0,t.jsx)("td",{}),(0,t.jsx)("td",{})]})]})]})]})}function a(s={}){const{wrapper:e}={...(0,n.a)(),...s.components};return e?(0,t.jsx)(e,{...s,children:(0,t.jsx)(h,{...s})}):h(s)}},75251:(s,e,r)=>{var t=r(67294),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,c=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function l(s,e,r){var t,i={},l=null,h=null;for(t in void 0!==r&&(l=""+r),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(h=e.ref),e)o.call(e,t)&&!d.hasOwnProperty(t)&&(i[t]=e[t]);if(s&&s.defaultProps)for(t in e=s.defaultProps)void 0===i[t]&&(i[t]=e[t]);return{$$typeof:n,type:s,key:l,ref:h,props:i,_owner:c.current}}e.Fragment=i,e.jsx=l,e.jsxs=l},85893:(s,e,r)=>{s.exports=r(75251)},11151:(s,e,r)=>{r.d(e,{Z:()=>c,a:()=>o});var t=r(67294);const n={},i=t.createContext(n);function o(s){const e=t.useContext(i);return t.useMemo((function(){return"function"==typeof s?s(e):{...e,...s}}),[e,s])}function c(s){let e;return e=s.disableParentContext?"function"==typeof s.components?s.components(n):s.components||n:o(s.components),t.createElement(i.Provider,{value:e},s.children)}}}]); |