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 n@127.0.0.1 -remsh node1@127.0.0.1 -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) (node1@127.0.0.1)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} (node1@127.0.0.1)2> couch_query_servers:proc_prompt(P, [<<"add_fun">>, <<"function(){}">>]). true (node1@127.0.0.1)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 ``` (node1@127.0.0.1)3> exit(<0.5106.0>, kill). true (node1@127.0.0.1)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: notifications-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org