[Plugin] SA:MP Shell Plugin
#11

Quote:
Originally Posted by ******
Посмотреть сообщение
A few things:

1) OnRecieveShellMessage

Receive*
:o
Fixed!


Quote:
Originally Posted by ******
Посмотреть сообщение
2) That callback should probably differentiate between stdout and stderr for incoming messages.
Actually it gets the output of stdout, so I would rather redirect stderr to stdout, or dump stderr's output into a file via command.


Quote:
Originally Posted by ******
Посмотреть сообщение
3) An execute function that doesn't reaturn a handle may also be useful. At the moment if you don't care about it, you have to discard the result manually. Or just this:

pawn Код:
#define SHELL_Fire(%0) SHELL_Release(SHELL_Execute((%0)))
I've added
pawn Код:
SHELL::System(const cmd[])
for this.

Thank you very much.
Reply


Messages In This Thread
SA:MP Shell Plugin - by BigETI - 22.11.2014, 20:18
Re: SA:MP Shell Plugin - by Jay_ - 22.11.2014, 20:24
Re: SA:MP Shell Plugin - by Meta - 22.11.2014, 20:26
Re: SA:MP Shell Plugin - by Kaperstone - 22.11.2014, 20:31
AW: Re: SA:MP Shell Plugin - by BigETI - 22.11.2014, 20:33
Re: SA:MP Shell Plugin - by Pottus - 22.11.2014, 20:36
Re: SA:MP Shell Plugin - by Write - 22.11.2014, 21:36
Re: SA:MP Shell Plugin - by Abagail - 22.11.2014, 21:52
Re: SA:MP Shell Plugin - by spell - 23.11.2014, 04:15
AW: SA:MP Shell Plugin - by BigETI - 23.11.2014, 14:21
AW: Re: SA:MP Shell Plugin - by BigETI - 23.11.2014, 21:25
Re: SA:MP Shell Plugin - by Crowler - 24.11.2014, 19:46
Re: SA:MP Shell Plugin - by Mark™ - 25.11.2014, 11:09
Re: SA:MP Shell Plugin - by KubiPL - 25.11.2014, 12:45
AW: Re: SA:MP Shell Plugin - by BigETI - 25.11.2014, 13:45
Re: SA:MP Shell Plugin - by KubiPL - 25.11.2014, 15:25
AW: SA:MP Shell Plugin - by BigETI - 27.11.2014, 09:53

Forum Jump:


Users browsing this thread: 7 Guest(s)