File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1281,7 +1281,7 @@ record-with-py-spy() {
12811281 mkdir -p tmp
12821282 echo " source task source; py-spy record --pid $pid --output $output_file --format speedscope" | sudo bash --
12831283
1284- $OS_OPEN " $speedscope_url "
1284+ open-with-os " $speedscope_url "
12851285}
12861286
12871287record-with-memray () {
@@ -1304,7 +1304,7 @@ record-with-memray() {
13041304 python3 -m memray run -o " $output_file " $( which odoo) --database=" $DATABASE " --config " $ODOO_RC " \
13051305 --http-port=" $port " --addons-path=" $ADDONS_PATH " --dev=all --log-level=" $LOG_LEVEL "
13061306 python3 -m memray flamegraph " $output_file "
1307- $OS_OPEN " tmp/memray-flamegraph-output.html"
1307+ open-with-os " tmp/memray-flamegraph-output.html"
13081308 fi
13091309}
13101310
@@ -1759,7 +1759,7 @@ visualize-dependencies() {
17591759
17601760 mkdir -p tmp
17611761 ./bin/odoo-module-dependencies " $1 "
1762- $OS_OPEN tmp/odoo-module-dependencies.html
1762+ open-with-os tmp/odoo-module-dependencies.html
17631763}
17641764
17651765# Setup commands
You can’t perform that action at this time.
0 commit comments