09 January 2012, 19:58 | #1 |
Registered User
Join Date: Sep 2011
Location: Denmark
Posts: 175
|
Possible to run a program from CLI in background?
I was wondering if it's possible in startup-sequence to run fx. a module player and then a GFX viewer without exiting the module player first.
So I kind of have it all running at the same time. Thanks Volt. |
09 January 2012, 20:07 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,020
|
Code:
run <nil: >nil: work:players/moduleplayer |
09 January 2012, 20:37 | #3 |
Registered User
Join Date: Sep 2011
Location: Denmark
Posts: 175
|
That worked great, thanks a lot
Volt. |
09 January 2012, 22:42 | #4 |
Registered User
Join Date: Dec 2011
Location: Northamptonshire, UK
Age: 42
Posts: 1,236
|
can this example be used to launch Genesis in the background and auto connect to the network at boot?
|
10 January 2012, 09:19 | #5 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,020
|
It can be used to launch Genesis. Everything else needs to be configured in GenesisPrefs (auto-connect, hide GUI).
|
13 January 2012, 15:58 | #6 |
Registered User
Join Date: Sep 2011
Location: Denmark
Posts: 175
|
Is it possible to use the run command without getting a disk requester?
Volt. |
13 January 2012, 16:06 | #7 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,020
|
Run does not throw a disk requester. It's something you did. Which disk does it request?
|
13 January 2012, 16:18 | #8 |
Registered User
Join Date: Sep 2011
Location: Denmark
Posts: 175
|
It requests the disk with the startup-sequence (Boot disk) but I'm loading files from second disk. Without run command it doesn't request the boot disk.
I'm not using libraries or anything beside "system-configuration" but that should be pre-loaded when I load files from disk 2. Volt. The startup-sequence where it requests looks like this: run <NIL: >NIL: ram:iffview disk2:1.iff ram:wait 20 run <NIL: >NIL: ram:iffview disk2:2.iff after wait 20 it requests boot disk iffview do not require other stuff to load. Last edited by VoltureX; 13 January 2012 at 16:32. |
13 January 2012, 16:31 | #9 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,020
|
This script does not contain any "run".
Which OS version is it? |
13 January 2012, 16:38 | #10 |
Registered User
Join Date: Sep 2011
Location: Denmark
Posts: 175
|
I'm booting from a floppy on kickstart v3.1
|
13 January 2012, 16:46 | #11 |
Registered User
Join Date: Sep 2011
Location: Denmark
Posts: 175
|
copy c:wait ram:
copy iffview ram: copy justplay ram: copy poltergeisttheme.mod ram: ram:IffView insertdisk2.iff run <NIL: >NIL: ram:justplay ramoltergeisttheme.mod run <NIL: >NIL: ram:iffview Poltergeist2-2:intro.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:1.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:2.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:3.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:4.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:5.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:6.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:7.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:8.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:9.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:10.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:11.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:12.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:13.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:14.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:15.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:16.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:17.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:1.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:2.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:3.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:4.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:5.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:6.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:7.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:8.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:9.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:10.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:11.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:12.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:13.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:14.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:15.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:16.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:17.iff ram:wait 20 ram:iffview Poltergeist2-2:end.iff After "ram:wait 20" where it will load "1.iff" it requests disk1 |
13 January 2012, 17:27 | #12 |
Registered User
Join Date: Sep 2010
Location: Croydon, UK
Posts: 46
|
Run is a program in C:. When you change the disk it won't be available. Copy C:Run Ram: and change the "run" lines to ram:run or change the directory.
|
13 January 2012, 17:44 | #13 |
Registered User
Join Date: Sep 2011
Location: Denmark
Posts: 175
|
It still doens't work. Somehow the iffview needs something on disk 1 I guess.
|
13 January 2012, 17:48 | #14 |
Registered User
Join Date: Sep 2010
Location: Croydon, UK
Posts: 46
|
|
13 January 2012, 18:04 | #15 |
Registered User
Join Date: Sep 2011
Location: Denmark
Posts: 175
|
I do not have anything in Libs:
|
13 January 2012, 20:06 | #16 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,020
|
I tried it and you are right. It does this, no matter what I tried. Even if I reassign all existing assigns to RAM: it asks for the boot disk.
What I didn't yet try is this: rename your current startup-sequence as slideshow-startup and put this in to startup-sequence: Code:
cd ram: newshell from s:slideshow-startup endcli |
13 January 2012, 21:45 | #17 |
The 1 who ribbits
|
wow this is strange
so it shows the Poltergeist2-2:intro.iff pic ok first but dos`t display Poltergeist2-2:1.iff I will suggest you make wait resident save loading it every time u use it so instead of "copy c:wait ram:" try "Resident >NIL: C:wait PURE" then you can change the "ram:wait 20" to just "wait 20" hope thomas suggestion works out for ya |
14 January 2012, 03:16 | #18 |
Registered User
Join Date: Sep 2011
Location: Denmark
Posts: 175
|
Thanks for all the help information you came up with. I went back to my old method of setting up the slideshow. I crunched all that I could and still had enough space for everything
A 2 disk noise and GFX is soon running regards Volt. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
External windows program communicating with program running inside WinUAE | xxxxx | support.WinUAE | 10 | 19 February 2013 09:27 |
CLI program to resturn joy direction or fire button. | olesio | request.Apps | 26 | 04 November 2011 18:18 |
CLI program to make mouse pointer dissapear on KS 3.X | Gaula92 | request.Apps | 5 | 21 October 2011 14:49 |
Cli program to "execute" .info files | olesio | support.Apps | 4 | 05 September 2010 19:19 |
Cant run AnimatED....anyone every used this great program? | mrbob2 | support.Apps | 2 | 20 June 2009 13:13 |
|
|