#!/bin/bash

BEC_CLIENT_PATH=$(pip show bec-ipython-client | grep "Location" | cut -d' ' -f2)
STARTUP_SCRIPT=$BEC_CLIENT_PATH/bec_client/bin/bec_startup.py

# Run the startup script and pass on any arguments
ipython -i $STARTUP_SCRIPT -- $@