Page 1 sur 1

Shell execute error

Publié : jeu. août 04, 2016 11:42 am
par ivan

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 ?



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 :


# LOAD sample-dataset.xml TO XML DATASET dataset
DEFINE $(echo hello word) AS command.file
CONVERT command.file TO USING $(timeout:15000, streamlength:600) AS commandLine
EXECUTE local WITH commandLine AS result
ASSERT result DOES contain WITh $(hello word) USING $(out)

Shell execute error

Publié : jeu. août 04, 2016 11:49 am
par ivan
Build error file...

Shell execute error

Publié : mer. janv. 04, 2017 10:57 am
par Karim Drifi

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

CONVERT command.file TO USING $(timeout:15000) AS commandLine

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

Karim Drifi.

Re: Shell execute error

Publié : mar. avr. 09, 2019 1:39 pm
par mathieuamalric412
cette erreur est devenu tres common.