SPAWN
-
- Administrator
- Posts: 534
- Joined: Sat Nov 22, 2003 10:47 pm
It does work...we have been using it routinely on a real-time hurricane plotter.
It is possible the process may be spawning in a hidden window. If not, try changing that number on the end (past the second comma) and see if that works.
SPAWN,c:\st\special\process.bat,,1
Let me know -- maybe we need to adjust the documentation.
Tim
It is possible the process may be spawning in a hidden window. If not, try changing that number on the end (past the second comma) and see if that works.
SPAWN,c:\st\special\process.bat,,1
Let me know -- maybe we need to adjust the documentation.
Tim
Hello Tim
It does not work. I start the following script:
erase
SPAWN,D:\Program Files\DigitalAtmosphereWS\scripts\HSFC_Dewpoint_Plot_Fill_2.dsf,,1
If ,,1 is omitting I get an error message that sounds that you MUST use the mode.
If mode = 0 nothing happens on the screen.
If mode = 1 notepad is opened with the content of the called script.
If mode = 2 same as 1 but now on the background.
If mode = 3 same as 1.
A reason is perhaps that you call a .bat-file and I call a script .dsf-file.
Greetings
Fred
It does not work. I start the following script:
erase
SPAWN,D:\Program Files\DigitalAtmosphereWS\scripts\HSFC_Dewpoint_Plot_Fill_2.dsf,,1
If ,,1 is omitting I get an error message that sounds that you MUST use the mode.
If mode = 0 nothing happens on the screen.
If mode = 1 notepad is opened with the content of the called script.
If mode = 2 same as 1 but now on the background.
If mode = 3 same as 1.
A reason is perhaps that you call a .bat-file and I call a script .dsf-file.
Greetings
Fred
-
- Administrator
- Posts: 534
- Joined: Sat Nov 22, 2003 10:47 pm
I guess I didn't make it clear, but SPAWN launches a Windows application. Your example does the equivalent of going into the Dig Atm script directory with Windows File Explorer and double-clicking on that .dsf file. Windows doesn't know what to do with it, so it fails.
SPAWN is designed for applications, batch files, and so forth.
I'll go in and add more info in the docs about this.
Tim
SPAWN is designed for applications, batch files, and so forth.
I'll go in and add more info in the docs about this.
Tim
-
- Senior Member
- Posts: 252
- Joined: Mon May 02, 2005 4:13 pm
- Contact:
SPAWN
I saw that you were calling a .bat file but I was hoping that it was also possible to call a script. In this way my greatest wish in DAWS would be fulfilled! This because I still think that calling scripts from a "superscript" is the only way to keep scripts maintainable.
Greetings
Fred
PS. I don't understand the remark about "satellite generator" from wxforecaster.
Greetings
Fred
PS. I don't understand the remark about "satellite generator" from wxforecaster.
-
- Senior Member
- Posts: 252
- Joined: Mon May 02, 2005 4:13 pm
- Contact:
I just think it would be cool is somehow Tim might be come up Sat Generator for 1km Sat Images! Right now i am using DuPage's but i would much rather produce my own! I am writing scripts right now for them, it is just instead of having College of DuPage, it would be cool with wxforecaster instead!
I just think with that SPAWN comand is a GREAT, and i mean GREAT addition to DAWS!
I just think with that SPAWN comand is a GREAT, and i mean GREAT addition to DAWS!
-
- Senior Member
- Posts: 252
- Joined: Mon May 02, 2005 4:13 pm
- Contact:
-
- Senior Member
- Posts: 252
- Joined: Mon May 02, 2005 4:13 pm
- Contact: