Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

child_process npm

'child_process has 4 functions' : spawn() , execFile() , fork() , exec() ;

//this module is dominantly used for scaling your node application by runing 
//multiple child processes at the same time i.e. MULTITHREADING.

//in simple words, you can run different applications like python, pwd etc. in 
//your node application with child process module.
 
PREVIOUS NEXT
Tagged: #npm
ADD COMMENT
Topic
Name
8+5 =