MySQL Forums
Forum List  »  MySQL Shell

Re: Passing parameters in js batch
Posted by: Claude J. Morin
Date: August 07, 2022 12:54PM

Hi again!

I found how to do this when using Python scripts:

import sys

the command line arguments are in sys.argv

I would prefer using JavaScript which I'm more familiar with but might switch to Python if I don't find how to use command line arguments in js.

Claude

Options: ReplyQuote


Subject
Views
Written By
Posted
353
August 06, 2022 10:24AM
Re: Passing parameters in js batch
170
August 07, 2022 12:54PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.