An interesting example, why do not you use native methods? Dim item As String
For Each item In Dir(User.Home).Sort() With Stat(User.Home & "/" & item) Print .Auth & " " & .User & " " & .Group & " " & .Size & " " & .LastModified & " " & item End With Next > Hi all > > AFAIR this used to work until now: > > Shell "ls -la" To variable > Exec ["ls", "-la"] To anothervariable > > But now, whatever command I use, if it has one or more arguments > beginning with a dash or double dash, I don't get any output. > > Quoting it with Shell$() function does not help. Also, I've tried > using process reading, to no avail. > > If you would issue the command without arguments, it then works fine. > > Is this a bug, or am I doing something wrong? > > Regards > > Gambas 3.4.90 r5682 > > [System] > OperatingSystem=Linux > Kernel=3.2.0-23-generic > Architecture=x86_64 > Distribution=Linux Mint 13 Maya > Desktop=GNOME > Theme=QPlastique > Language=es_ES.UTF-8 > Memory=16034M > > [Libraries] > Curl=libcurl.so.4.2.0 > GStreamer=libgstreamer-0.10.so.0.30.0 > GTK+=libgtk-x11-2.0.so.0.2400.10 > Qt4=libQtCore.so.4.8.1 > SDL=libSDL-1.2.so.0.11.3 > Poppler=libpoppler.so.19.0.0 > ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user