FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
hello-algorithm/run.js at master · algorithm007-class01/hello-algorithm · GitHub
algorithm007-class01
/
hello-algorithm
Public
forked from
geekxh/hello-algorithm
Notifications
You must be signed in to change notification settings
Fork
2
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
hello-algorithm
/
run.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
9 lines (9 loc) · 235 Bytes
Breadcrumbs
hello-algorithm
/
run.js
Copy path
File metadata and controls
9 lines (9 loc) · 235 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
const
{
exec
}
=
require
(
'child_process'
)
exec
(
'npm run build'
,
(
error
,
stdout
,
stderr
)
=>
{
if
(
error
)
{
console
.
log
(
`exec error:
${
error
}
`
)
return
}
console
.
log
(
`stdout:
${
stdout
}
`
)
;
console
.
log
(
`stderr:
${
stderr
}
`
)
;
}
)
Back
|
FazBrowse Home
|
New Git URL