Arguments with spaces get split in /usr/bin/ajaxterm wrapper

Bug #750040 reported by Soren Hansen
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ajaxterm (Ubuntu)
Fix Released
Soren Hansen

Bug Description

Binary package hint: ajaxterm

/usr/bin/ajaxterm calls /usr/share/ajaxterm/ like so:
exec $PYTHONPATH/ $@

If I run something like
ajaxterm --cmd "vmstat 5"

The argv ends up being "ajaxterm", "--cmd", "vmstat", "5" which obvisously won't work.

Soren Hansen (soren)
Changed in ajaxterm (Ubuntu):
status: New → Incomplete
status: Incomplete → In Progress
assignee: nobody → Soren Hansen (soren)
importance: Undecided → Medium
importance: Medium → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ajaxterm - 0.10-10ubuntu2

ajaxterm (0.10-10ubuntu2) natty; urgency=low

  * Properly escape arguments to in /usr/bin wrapper (LP:
  * 90_token_based_access_control.diff (LP: #741619):
    - Add a -t option to pass a token that must be passed by clients
      to get access.
  * 91_terminate_on_idle.diff (LP: #741619):
    - Add -T option to terminate ajaxterm itself if idle for extended
      periods of time.
 -- Soren Hansen <email address hidden> Mon, 04 Apr 2011 10:14:32 +0200

Changed in ajaxterm (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers