nickva commented on PR #5243:
URL: https://github.com/apache/couchdb/pull/5243#issuecomment-2350368713

   On Windows 10 (in powershell)
   
   ```
    .\dev\run --admin=adm:pass -n3
   ```
   
   Get the cookie:
   
   ```
   > cat ~\.erlang.cookie
   $...cookie...
   ```
   
   ```
   > werl -hidden -name [email protected] -remsh [email protected] -c $...cookie...
   ```
   
   ```
   Erlang/OTP 25 [erts-13.2.2.9] [source] [64-bit] [smp:8:8] [ds:8:8:10] 
[async-threads:1] [jit:ns]
   
   Eshell V13.2.2.9  (abort with ^G)
   ([email protected])1>  f(), P = 
couch_query_servers:get_os_process("javascript").
   {proc,<0.5106.0>,<<"javascript">>,
         #Ref<0.583164505.2910060547.127323>,undefined,#{},
         {couch_os_process,prompt},
         {couch_os_process,set_timeout},
         {couch_os_process,stop},
         -5764604785904640,-5764604785904640}
   ([email protected])2>  couch_query_servers:proc_prompt(P, [<<"add_fun">>, 
<<"function(){}">>]). 
   true
   ([email protected])3>
   ```
   
   Ensure a couchjs task is running
   ```
   > ps -f *couch*
   
   ProductVersion   FileVersion      FileName
   --------------   -----------      --------
                                     
C:\Users\vatam\asf\src\couch\priv\couchjs.exe
   ```
   
   Kill the Erlang PID and that should kill the couchjs process
   
   ```
   ([email protected])3> exit(<0.5106.0>, kill).   
   true
   ([email protected])4>   
   ```
   
   ```
   ]> ps -f *couch*
   > 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to