Shell execute error

ivan
Messages : 4
Inscription : mer. juil. 13, 2016 7:50 am

Shell execute error

Message par ivan »

Hi,

I use Squash TA V1.7.1.
When I try to execute this code I got build errors dues to "EXECUTE local .." command.
(As example "EXECUTE log.." command is working

Does anybody could help ?

Thanks,
Ivan

SETUP :

LOAD sample-resource.txt AS resource

// here we test the macro defined in shortcuts/sample_shortcut.macro. Note that none of the instructions here are case sensitive :

TEST :

# LOAD sample-dataset.xml TO XML DATASET dataset
DEFINE $(echo hello word) AS command.file
CONVERT command.file TO query.shell USING $(timeout:15000, streamlength:600) AS commandLine
EXECUTE local WITH commandLine AS result
ASSERT result DOES contain WITh $(hello word) USING $(out)
ivan
Messages : 4
Inscription : mer. juil. 13, 2016 7:50 am

Shell execute error

Message par ivan »

Build error file...
Pièces jointes
builderror.txt
(5.14 Kio) Téléchargé 134 fois
Karim Drifi
Messages : 119
Inscription : lun. nov. 30, 2015 2:45 pm

Shell execute error

Message par Karim Drifi »

Hello,

Can you try without the streamlength optio in the convert instruction ?

[code]
CONVERT command.file TO query.shell USING $(timeout:15000) AS commandLine
[/code]

(This option is used for loaded files)
Let me know the result.

Karim Drifi.
mathieuamalric412
Messages : 3
Inscription : mar. avr. 09, 2019 1:37 pm

Re: Shell execute error

Message par mathieuamalric412 »

cette erreur est devenu tres common.
Répondre

Revenir à « Local Process Plugin »