Update set-process-title

This commit is contained in:
Konstantin Wohlwend 2025-12-17 10:41:59 -08:00
parent 5414f1865d
commit c94647b487

View File

@ -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, "'\\''");