Amiga Developer Site by i n n o i d e a | MorphOS | Amiga Developers | Compilers | Documents | Dev-HardFile v1.11 for UAE / real Amiga - readme - shot) | Unique/All Visitors: 77257/570053
Search manual for function in the   
AmigaOS/SystemTagList

   NAME
	SystemTagList -- Have a shell execute a command line (V36)

   SYNOPSIS
	error = SystemTagList(command, tags)
	D0		        D1      D2 

	LONG SystemTagList(STRPTR, struct TagItem *)

	error = System(command, tags)
	D0		 D1      D2 

	LONG System(STRPTR, struct TagItem *)

	error = SystemTags(command, Tag1, ...)

	LONG SystemTags(STRPTR, ULONG, ...)

   FUNCTION
	Similar to Execute(), but does not read commands from the input
	filehandle.  Spawns a Shell process to execute the command, and
	returns the returncode the command produced, or -1 if the command
	could not be run for any reason.  The input and output filehandles
	will not be closed by System, you must close them (if needed) after
	System returns, if you specified them via SYS_Input or SYS_Output.

	By default the new process will use your current Input() and Output()
	filehandles.  Normal Shell command-line parsing will be done
	including redirection on 'command'.  The current directory and path
	will be inherited from your process.  Your path will be used to find
	the command (if no path is specified).

	Note that you may NOT pass the same filehandle for both SYS_Input
	and SYS_Output.  If you want input and output to both be to the same
	CON: window, pass a SYS_Input of a filehandle on the CON: window,
	and pass a SYS_Output of NULL.  The shell will automatically set
	the default Output() stream to the window you passed via SYS_Input,
	by opening "*" on that handler.

	If used with the SYS_Asynch flag, it WILL close both it's input and
	output filehandles after running the command (even if these were
	your Input() and Output()!)

	Normally uses the boot (ROM) shell, but other shells can be specified
	via SYS_UserShell and SYS_CustomShell.  Normally, you should send
	things written by the user to the UserShell.  The UserShell defaults
	to the same shell as the boot shell.

	The tags are passed through to CreateNewProc() (tags that conflict
	with SystemTagList() will be filtered out).  This allows setting
	things like priority, etc for the new process.  The tags that are
	currently filtered out are:

		NP_Seglist
		NP_FreeSeglist
		NP_Entry
		NP_Input
		NP_Output
		NP_CloseInput
		NP_CloseOutput
		NP_HomeDir
		NP_Cli

   INPUTS
	command - Program and arguments
	tags    - see [dos/dostags.h].  Note that both SystemTagList()-
		  specific tags and tags from CreateNewProc() may be passed.

   RESULT
	error	- 0 for success, result from command, or -1.  Note that on
		  error, the caller is responsible for any filehandles or other
		  things passed in via tags.  -1 will only be returned if
		  dos could not create the new shell.  If the command is not
		  found the shell will return an error value, normally
		  RETURN_ERROR.

   SEE ALSO
	Execute(), CreateNewProc(), [dos/dostags.h], Input(), Output()


Logo by Emeric/SH
AmigaOS/SystemTagList

No examples found...


Functions with "S":
SCROLLER_GetClass
SDCMD_BREAK
SDCMD_QUERY
SDCMD_SETPARAMS
SDK
SDivMod32
SMult32
SMult64
SPACE_GetClass
SPAbs
SPAcos
SPAdd
SPAsin
SPAtan
SPCeil
SPCmp
SPCos
SPCosh
SPDiv
SPEEDBAR_GetClass
SPExp
SPFieee
SPFix
SPFloor
SPFlt
SPLog
SPLog10
SPMul
SPNeg
SPPow
SPSin
SPSincos
SPSinh
SPSqrt
SPSub
SPTan
SPTanh
SPTieee
SPTst
STRING_GetClass
SameDevice
SameLock
SaveAddressEntry
SaveFolder
ScalerDiv
ScanFolderIndex
ScreenDepth
ScreenPosition
ScreenToBack
ScreenToFront
ScrollLayer
ScrollRaster
ScrollRasterBF
ScrollVPort
ScrollWindowRaster
Seek
SelectInput
SelectOutput
SendAmigaGuideCmdA
SendAmigaGuideContextA
SendArticle
SendIO
SendPkt
SetABPenDrMd
SetAPen
SetAddressEntryAttrsA
SetAmigaGuideAttrsA
SetAmigaGuideContextA
SetArgStr
SetArticleAttrsA
SetArticlePartDataA
SetAttrsA
SetBPen
SetChipRev
SetChooserNodeAttrsA
SetClickTabNodeAttrsA
SetCollision
SetComment
SetConductorState
SetConsoleTask
SetCurrentBinding
SetCurrentDirName
SetCxObjPri
SetDMRequest
SetDTAttrsA
SetDecoderAttrsA
SetDefaultPubScreen
SetDiskFontCtrlA
SetDrMd
SetEditHook
SetExcept
SetFileDate
SetFileSize
SetFileSysTask
SetFilter
SetFilterIX
SetFolderAttrsA
SetFont
SetFunction
SetGadgetAttrsA
SetICR
SetInfoA
SetIntVector
SetIoErr
SetJoyPortAttrsA
SetKeyMapDefault
SetListBrowserNodeAttrsA
SetLocalItemPurge
SetMaxPen
SetMenuStrip
SetMode
SetMouseQueue
SetNVProtection
SetOPen
SetOutlinePen
SetOwner
SetPageGadgetAttrsA
SetPlayerAttrs
SetPointer
SetPrefs
SetProgramDir
SetProgramName
SetPrompt
SetProtection
SetPubScreenModes
SetRGB32
SetRGB32CM
SetRGB4
SetRGB4CM
SetRPAttrA
SetRadioButtonNodeAttrsA
SetRast
SetRexxVar
SetSR
SetServerAttrsA
SetSignal
SetSoftStyle
SetSpeedButtonNodeAttrsA
SetSuperAttrs
SetTaskPri
SetTranslate
SetVBuf
SetVar
SetWindowPointerA
SetWindowTitles
SetWriteMask
ShowAllListBrowserChildren
ShowListBrowserNodeChildren
ShowTitle
Signal
SizeLayer
SizeWindow
SortGList
SplitName
StackSwap
StartNotify
StartTimerInt
StopChunk
StopChunks
StopOnExit
StopTimerInt
StoreItemInContext
StoreLocalItem
StoreNV
StrConvert
StrToDate
StrToLong
Stricmp
StripFont
StrnCmp
Strnicmp
SubTime
SumKickData
SumLibrary
SuperState
Supervisor
SwapBitsRastPortClipRect
SyncSBitMap
SysReqHandler
SystemControlA
SystemTagList

Last 15 uploaded Examples:

20071229151342 AmiSSL/X509_STORE_CTX_cleanup
20070708011052 GeekGadgets/getlogin
20060705053954 AmigaOS/OpenWorkbenchObjectA
20050801035639 SDL/SDL_Surface
20050727092732 BlitzBasic/LSL
20050718102843 SDL/SDL_WarpMouse
20050718072844 GeekGadgets/fread
20050714051528 SDL/SDL_ActiveEvent
20050714051514 SDL/SDL_ActiveEvent
20050701171401 GeekGadgets/errno
20050701171347 GeekGadgets/errno
20050627101951 SDL/SDL_FreeSurface
20050623152729 GeekGadgets/fork
20050619153102 GeekGadgets/tcdrain
20050615182849 AmigaOS/OpenScreen

Last 25 posts:

20050613235812 SDL/SDL_SetGammaRamp
20050526065000 AmiTCP/unistd.h
20050413041558 AmiSSL/X509_STORE_set_default_paths
20050409155750 AmigaDOS/Status
20050129230614 MUI/Calendar.mcc
20050128185620 GeekGadgets/hstrerror
20041126154558 BlitzBasic/LoadBank
20041123170704 GeekGadgets/gcvt
20041105222909 AmigaOS/CheckSignal
20040712190839 SDL/SDL_SetVideoMode
20040627090529 SDL/SDL_Init
20040519133228 GeekGadgets/fork
20040407124555 AmigaOS/AllocMem
20040403101120 GeekGadgets/inet_ntoa
20040327172814 GeekGadgets/random
20040327172714 GeekGadgets/srandom
20040313211937 BlitzBasic/ANALYZEDISK
20040303135237 GeekGadgets/mktemp
20040301131355 GeekGadgets/realpath
20040301123615 GeekGadgets/gcvt
20040301114000 GeekGadgets/htonl
20040301100209 GeekGadgets/realpath
20040229095437 GeekGadgets/time
20040211132618 GeekGadgets/getpid
20040209102818 AmigaOS/OpenWindow




Amiga.sf
AMIGIFT

Locations of visitors to this page

Page took 0.724637 seconds to load.