mIRC Home    About    Download    Register    News    Help

Print Thread
A possible bug in /run command #239391 22/10/12 05:18 PM
Joined: Mar 2010
Posts: 145
Masoud Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Mar 2010
Posts: 145
I'm getting this error since I upgraded my mIRC to the latest version (v7.27). It used to work just fine in the previous version.
Code:
* /run: unable to open file 'ping 4.2.2.4 -t'


Although, I'm not sure if it's a bug or what, just felt like reporting it. It's no big a deal.

P.S.: "ping 4.2.2.4 -t" works just fine when I type it in the Run itself. It just gives me this error when I'm trying to execute it using mIRC.


Nothing...
Re: A possible bug in /run command [Re: Masoud] #239392 22/10/12 05:22 PM
Joined: Feb 2011
Posts: 388
K
KindOne Offline
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 388


irc.swiftirc.net #msl (mIRC Scripting Language)
Re: A possible bug in /run command [Re: KindOne] #239393 22/10/12 05:27 PM
Joined: Mar 2010
Posts: 145
Masoud Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Mar 2010
Posts: 145
I don't think so.


Nothing...
Re: A possible bug in /run command [Re: Masoud] #239394 22/10/12 05:47 PM
Joined: Dec 2002
Posts: 344
D
drum Offline
Pan-dimensional mouse
Offline
Pan-dimensional mouse
D
Joined: Dec 2002
Posts: 344
It might be related.

In any case, you can get around the issue by doing this:

/run ping.exe 4.2.2.4 -t

Re: A possible bug in /run command [Re: drum] #239539 07/11/12 01:25 AM
Joined: Apr 2011
Posts: 3
C
cage Offline
Self-satisified door
Offline
Self-satisified door
C
Joined: Apr 2011
Posts: 3
Originally Posted By: drum
It might be related.

In any case, you can get around the issue by doing this:

/run ping.exe 4.2.2.4 -t


I had a similar issue it seems you must provide the full filename with extension now.

Re: A possible bug in /run command [Re: Masoud] #239545 07/11/12 08:47 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Yes, it is related.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: A possible bug in /run command [Re: cage] #239547 07/11/12 08:57 AM
Joined: Dec 2002
Posts: 5,020
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,020
That's right, the new version requires you to either enclose the command in quotes or to use an extension, so that mIRC can clearly tell where the command and parameters begin and end. Previous versions of mIRC guessed which part was command or parameter if the command line was vague (which could lead to unpredictable results). To ensure backwards compatibility, the next version will revert to the previous method.