Set pwd on fish script

This commit is contained in:
2025-01-26 01:08:03 -06:00
parent 28098ca69a
commit ac8b8a9881

View File

@@ -1,5 +1,8 @@
#!/usr/bin/env fish #!/usr/bin/env fish
# Change to the script's directory
cd (dirname (status filename))
# Activate the virtual environment and run main.py silently # Activate the virtual environment and run main.py silently
vf activate general vf activate general
python main.py > /dev/null 2>&1 & python main.py > /dev/null 2>&1 &