puppeteer/assets/js/2b382d01.24ce623b.js
release-please[bot] df56e33c5f deploy: 2d8acd2021
2024-01-29 12:51:38 +00:00

2 lines
4.8 KiB
JavaScript

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