[Gambas-user] Issue 568 in gambas: Exec fails to run scripts
gambas at ...2524...
gambas at ...2524...
Sat Oct 18 10:59:37 CEST 2014
Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 568 by mradcli... at ...626...: Exec fails to run scripts
https://code.google.com/p/gambas/issues/detail?id=568
I have the following code in one of my projects
filename is a string which contains the full path to a video file which the
program needs to retrieve data from, but seems to fall over only when I
attempt to run a script.
Dim strOutput As String
Dim params As New String[]
With params
.Add("/tmp/getData.sh")
.Add(filename)
End With
Exec Params To strOutput
which fails with "Cannot run child process: Cannot run executable: exec
format error" followed by details of the class and line where the error
occurred.
This code was written originally in 3.5.4 where it works perfectly and only
fails after an upgrade to 3.6
Moreover if I run a command (say chmod) then the exec works perfectly.
[System]
Gambas=3.6.0
OperatingSystem=Linux
Kernel=3.2.0-70-generic
Architecture=x86
Distribution=Ubuntu 12.04.5 LTS
Desktop=LXDE
Theme=QGtk
Language=en_US.UTF-8
Memory=496M
[Libraries]
Cairo=libcairo.so.2.11000.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.5.8
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.1.0
GTK+3=libgtk-3.so.0.400.2
GTK+=libgtk-x11-2.0.so.0.2400.10
Poppler=libpoppler.so.19.0.0
Qt4=libQtCore.so.4.8.1
SDL=libSDL-1.2.so.0.11.3
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
More information about the User
mailing list