Xojo Conferences
XDCMay2019MiamiUSA

[MBS] ConsoleExecuteMBS On Windows? (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: Re: [MBS] [ANN] 11.0pr13
Next thread: [MBS] Mac App Store Receipt Validation


Re: [MBS] MBS Real Studio Audio Plugin crash   -   Garth Hjelte
  [MBS] ConsoleExecuteMBS On Windows?   -   Paul Gaspar
   Re: [MBS] ConsoleExecuteMBS On Windows?   -   Christian Schmitz
   Re: [MBS] ConsoleExecuteMBS On Windows?   -   Paul Gaspar
   Re: [MBS] ConsoleExecuteMBS On Windows?   -   Christian Schmitz

[MBS] ConsoleExecuteMBS On Windows?
Date: 10.01.11 12:05 (Mon, 10 Jan 2011 12:05:35 +0100)
From: Paul Gaspar
Hi Christian,

can you create something like ConsoleExecuteMBS for Windows?

We need to start a process, pass some arguments and get the PID back.

Using RB.Shell does not return the PID. The WindowsFunctionalitySuite does something similar (VB.Shell), but I can't pass arguments and we have problems with it.

BTW there is a small problem with this function on Mac: The plugin does mask spaces and other characters with a backshlash, but FolderIte.ShellPath does already mask it. Its simple to work around, of course (ReplaceAll backslash in ShellPath).

Paul Gaspar
http://www.revolversoftware.com

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] ConsoleExecuteMBS On Windows?
Date: 10.01.11 12:28 (Mon, 10 Jan 2011 12:28:13 +0100)
From: Christian Schmitz

Am 10.01.2011 um 12:17 schrieb Paul Gaspar:

> I thought this does not return the pid but an error code??

Right. Maybe I can make a variant of this. Well, if Microsoft has a function for this.

Greetings
Christian

Re: [MBS] ConsoleExecuteMBS On Windows?
Date: 10.01.11 12:17 (Mon, 10 Jan 2011 12:17:12 +0100)
From: Paul Gaspar
I thought this does not return the pid but an error code??

Paul

> How about WindowsShellExecuteMBS?

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] ConsoleExecuteMBS On Windows?
Date: 10.01.11 12:07 (Mon, 10 Jan 2011 12:07:26 +0100)
From: Christian Schmitz

Am 10.01.2011 um 12:05 schrieb Paul Gaspar:

> Hi Christian,
>
> can you create something like ConsoleExecuteMBS for Windows?

How about WindowsShellExecuteMBS?

> BTW there is a small problem with this function on Mac: The plugin does mask spaces and other characters with a backshlash, but FolderIte.ShellPath does already mask it. Its simple to work around, of course (ReplaceAll backslash in ShellPath).

Use UnixPathMBS.

Greetings
Christian