bash-shell-to-bat-converter icon indicating copy to clipboard operation
bash-shell-to-bat-converter copied to clipboard

Shell to activate virtual environment | parse error: SyntaxError: Unclosed "

Open KJAcementys opened this issue 4 years ago • 1 comments

Hi,

I'm trying to convert the following shell script that activates a virtual environment and it doesn't seem to work, but the corresponding error doesn't make sense to me with this script.

Any help on this one?

Here's the file activate.txt

KJAcementys avatar Jan 05 '22 10:01 KJAcementys

It seems the brackets (KJA) in the following line cause some problem:

VIRTUAL_ENV=$(cygpath "C:\Users\Kieran Janin (KJA)\OneDrive - cementys.com\Documents\Python Scripts\Tests\Ted Petrou, Data Science with Python\Dashboarding with Dash\Build+an+Interactive+Data+Analytics+Dashboard+with+Python+20211101\project\dashboard_venv")

I'll look into this - in the meantime you could simplify the path.

(Admittingly the conversion for the remaining script is rather limited until we support conversion of if-statements #44)

daniel-sc avatar Jan 05 '22 13:01 daniel-sc