---
name: "expectk5.28"
section: "1"
platform: "linux"
package: "expect5.24"
version: "5.28.1-1"
release: "Debian 2.1 (Slink)"
platforms: ["linux"]
url: "https://new.carta.tech/expectk5.28"
---

# expectk5.28(1)

Expect with Tk support

## NAME

expectk - Expect with Tk support

## SYNOPSIS

**expectk** \[ *args* \]

## INTRODUCTION

**Expectk** is a combination of Expect with Tk.  (See their respective man pages for a more comprehensive explanation of either.) **Expectk** should run any **wish** or **Expect** script (with minor changes - see below).

The differences between the Expectk and Expect environment follows.

The **send** command is Tk's.  Expect's **send** command can be invoked by the name **exp\_send**. (For compatibility, Expect allows either **send** or **exp\_send** to be used.)

Scripts may be invoked implicitly on systems which support the #! notation by marking the script executable, and making the first line in your script:

	\#!/usr/local/bin/expectk -f

Of course, the path must accurately describe where **Expectk** lives.  /usr/local/bin is just an example.
