RunShell() in the Alaska 2.0

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

RunShell() in the Alaska 2.0

#1 Post by Eugene Lutsenko »

For some reason, RunShell () in Alaska 2.0 does not start the Eidos system, it starts the archive for unpacking

RunShell("",'__aidos-x.exe',.T.)
RunShell("","Downloads.exe",.F.)

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: RunShell() in the Alaska 2.0

#2 Post by rdonnay »

Does your Eidos system require command line parameters?
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: RunShell() in the Alaska 2.0

#3 Post by Eugene Lutsenko »

Parameters are not required

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: RunShell() in the Alaska 2.0

#4 Post by rdonnay »

Just put some debugging in your code.

Do you use WTF?
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: RunShell() in the Alaska 2.0

#5 Post by Eugene Lutsenko »

I use it, but very rarely. Just RunShell does not start the Eidos system, but it runs other programs

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: RunShell() in the Alaska 2.0

#6 Post by rdonnay »

RunShell does not start the Eidos system, but it runs other programs
That does not sound right to me.
I believe you have a mistake in your program.
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: RunShell() in the Alaska 2.0

#7 Post by Eugene Lutsenko »

I will look more closely

Victorio
Posts: 620
Joined: Sun Jan 18, 2015 11:43 am
Location: Slovakia

Re: RunShell() in the Alaska 2.0

#8 Post by Victorio »

Eugene
RunShell("",'__aidos-x.exe',.T.)
RunShell("","Downloads.exe",.F.)
You mean, __aidos-x.exe not run and Downloads.exe run ?

I see first row you have apostrophe, second quotation marks, is it ok ? can you try quotation marks on both ?
third parameter .F. sync, .T. async, this look aidos you run async, then run aidos and download paralell, what do downloads.exe not blocking aidos-exe ?
and if you put fourth parameter to .F., not hide, what you see in command line black window ?

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: RunShell() in the Alaska 2.0

#9 Post by Eugene Lutsenko »

I found out why it seemed that RunShell did not launch the Eidos system. It turned out that he started it, but it was not executed under w10. And all because I set the date of the executable module in the directory of the 19th year, so that the update was downloaded. It was downloaded. And then this executable module that was downloaded just didn't run under w10. Not only does it RunShell, but it doesn't run manually. And with the new executable module made in Alaska 2.0, everything is fine and is updated and launched.

Post Reply