mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Update set-process-title
This commit is contained in:
parent
5414f1865d
commit
c94647b487
@ -1,4 +1,6 @@
|
||||
// If not set, set the process title to an abridged version of the command that was used to start the process
|
||||
// Use by putting this into your .envrc:
|
||||
// export NODE_OPTIONS="--require=/path/to/workspace/scripts/set-process-title.js $NODE_OPTIONS"
|
||||
|
||||
function escapeBashString(str) {
|
||||
return str.replace(/'/g, "'\\''");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user