---
title: "FAPI-shell Command Timeout"
slug: "guide/configuration/session-start-up-file-options/fapi-shell-command-timeout"
sidebar:
  order: 71
---

<a id="ref-3924fa7900cb"></a>
<a id="ref-a4185a845f44"></a>

## Synopsis

`egr.eai.gf.cmd_timeout=<timeout-in-seconds>`

**Default Value:** `0`

Optional entry, `egr.eai.gf.cmd_timeout`. Again, the value must be a non-negative integer less than 2^31. It represents the actual timeout in seconds.

A value of `zero` (the default value) means 'no timeout'. However, if a maximum timeout is configured in the server startup file, that maximum timeout is used instead.

If the timeout is greater than the maximum timeout, the maximum timeout is used. Similarly, if the timeout is less than the minimum timeout, the minimum timeout is used.

The value of `egr.eai.gf.cmd_timeout` from the session startup file may be overridden by a property with the same name returned by `ISessionManagerListener.getStartupProperties()`.
