Menu

#87 Shell support (Intellisync integration)

open
nobody
None
5
2008-04-08
2008-04-08
Todd Oberly
No

This isn't so much a feature request, but a request for one of the programmers to confirm that C:\sys\bin\python_launcher.exe can accept a Python script as a command line argument. I discusses this with some users at http://discussion.forum.nokia.com/forum/showthread.php?t=130734 who are better at reading source code, and they agree it *should* work, but so far it does not. Now the average user does not have access to this interface, but my company uses Intellisync Mobile Suite (8 SP3 MR1), which includes a Device Management action "Run Executable", that lets me run a program and an argument. I can use IMS to run C:\sys\bin\Python.exe , for example, to see the interactive shell, so I know Intellisync at least half works. I can also run third party software like C:\sys\bin\YuccaBrowser.exe (the popular file browser program). I am attempting to run a Python script this way, for example

Program to run: C:\sys\bin\python_launcher.exe
Program arguments: C:\Python\ball.py

but nothing happens. If you can confirm this should work, I can then use this as ammunition with the IMS division. Otherwise, if it doesn't work...and you see no good reason to keep it disabled...then I suppose this is a feature request after all. :-)

I tested Python 1.4.2 on an E61i running the last (?) firmware, from 3 October 2007.

Discussion

  • Todd Oberly

    Todd Oberly - 2008-04-08

    Intellisync "Run Executable" action

     
  • Jukka Laurila

    Jukka Laurila - 2008-08-13

    Logged In: YES
    user_id=1162622
    Originator: NO

    python_launcher.exe is intended for running background scripts that have no UI component. That's why you don't see anything.

     
  • Todd Oberly

    Todd Oberly - 2008-08-13

    Logged In: YES
    user_id=384041
    Originator: YES

    So what you're saying is that python_launcher.exe should work, provided the scripts have no GUI component? If I stick to parsing files, renaming files, making directories, etc, that should work as expected? I believe I tried this once, using Intellisync to create a directory or write a 1-line text file, but the operation failed with no error. (This was months ago and I will need to retest.) If there is no more subtlety but I still cannot make this work, I will send my findings to Intellisync TAC and go from there. Jukka, thanks very much for your reply!

     
  • Todd Oberly

    Todd Oberly - 2008-08-21

    Python test file

     
  • Todd Oberly

    Todd Oberly - 2008-08-21

    Logged In: YES
    user_id=384041
    Originator: YES

    File Added: info.py

     
  • Todd Oberly

    Todd Oberly - 2008-08-21

    Logged In: YES
    user_id=384041
    Originator: YES

    I ran another Intellisync test, using the into.py file attached below and the Intellisync action described above. The fields were

    Program to run: C:\sys\bin\python_launcher.exe
    Program arguments: C:\Python\INFO.PY (I tried both upper and lower case)

    Like before, the operation failed silently. Intellisync pushes the publication, but nothing happens.

    Can you confirm that according to the python_launcher.exe code, the info.py script should run properly as a shell argument...without being signed and without any other trickery? It does work from the Python "Run Script" interface. Thanks!

     

Log in to post a comment.

Auth0 Logo