Jump to content

Sending command line parameters in running script


Recommended Posts

Help please. I can't found information about this.

Problem:

I have a script which associated with extension (.dem). When i run .dem file then script reads command line parameters and calls a function.

How to send command line parameters in running script when i the second time run .dem file.

Sorry for my english.

Link to comment
Share on other sites

oMBRa

I know this :D

It is difficult to me to write in English.

I tried again.

When i run script in first time with parameters then script must to work normal but when i run this script in second time with other parameters then i need to send this parameters in previous instance of running script for calling function in this previous running script.

Edited by hunt
Link to comment
Share on other sites

Help please. I can't found information about this.

Problem:

I have a script which associated with extension (.dem). When i run .dem file then script reads command line parameters and calls a function.

How to send command line parameters in running script when i the second time run .dem file.

Sorry for my english.

You could try to use StdinWrite() and StdoutRead(), but i'm not sure if you can get around having to run the second process as the firsts' STDOUT_CHILD.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...